String.IsNullOrEmpty() Check for Space

Posted by Asim Sajjad on Stack Overflow See other posts from Stack Overflow or by Asim Sajjad
Published on 2010-03-31T11:14:00Z Indexed on 2010/03/31 11:23 UTC
Read the original article Hit count: 165

Filed under:

What does below statement return

String.IsNullOrEmpty(" ")

is IsNullOrEmpty will need to pass by applying Trim() function of string.

 String.IsNullOrEmpty("        ".Trim())

or it will trim the string inside ?

© Stack Overflow or respective owner

Related posts about c#