How to check whether any string has a value or not?

 Posted by vishalneeraj-24503 on 7/1/2014 | Category: Visual Studio Interview questions | Views: 2048 | Points: 40
Answer:

String data type has IsNullOrEmpty static function which is used for checking whether string conains any value or not.
Syntax:-
string.IsNullOrEmpty(string value);


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response