Sunday 29 April 2012

Finding Empty or Null string at once using C#


C# provide a functionality to check if a string is null or empty by single command. string have a internal functionIsNullOrEmpty(), just pass the string in it and will return the true either it is null or empty.