What is the return type of IsNullOrEmpty string method?

 Posted by vishalneeraj-24503 on 7/1/2014 | Category: C# Interview questions | Views: 585 | Points: 40

IsNullOrEmpty string method returns Boolean value as True or False. If any string contains any

value then IsNullOrEmpty method returns True otherwise returns False.

For Example:-
string value = string.Empty;

if (string.IsNullOrEmpty(value))
return true;
return false;

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response