Skip to main content
3 of 5
added 39 characters in body
Ravi Shankar B
  • 482
  • 2
  • 5
  • 15

How to convert nullable int to string

I need to convert the nullable int to string

int? a = null; string str = a.toString(); 

How can I perform this action without an exception? I need to get the string as "Null". please guide me Thanks in advance.

Ravi Shankar B
  • 482
  • 2
  • 5
  • 15