How to check if a string is REALLY empty with C#
Too Long; Didn't Read
C#.NET provides easy methods to handle your strings. String.NET native methods: String.IsnullOrEmpty and String.ArenullOrWhitespace. String IsNullOrEmpty checks only if the string passed as a parameter has at least one symbol, so it doesn't recognize strings composed by empty characters. C# provides two methods to achieve this result, StringIsNullOrWhiteSpace and String.IsNull.OrEmpty. It checks both empty characters and for escape characters.