Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# return default "" if null

var test = value == null ? "" : value
 
PREVIOUS NEXT
Tagged: #return #default #null
ADD COMMENT
Topic
Name
2+9 =