Monday 1 September 2014

If string is not null or empty else

string.IsNullOrEmpty(someString) ? "<NULL>" : "<not NULL / Empty>";

No comments:

Post a Comment