c# Programming Glossary: mystring.trim
What's the most efficient way to determine whether an untrimmed string is empty in C#? http://stackoverflow.com/questions/810442/whats-the-most-efficient-way-to-determine-whether-an-untrimmed-string-is-empty empty. There are quite a few ways to do this 1 if myString.Trim .Length 0 2 if myString.Trim 3 if myString.Trim .Equals 4 if.. a few ways to do this 1 if myString.Trim .Length 0 2 if myString.Trim 3 if myString.Trim .Equals 4 if myString.Trim String.Empty 5.. this 1 if myString.Trim .Length 0 2 if myString.Trim 3 if myString.Trim .Equals 4 if myString.Trim String.Empty 5 if myString.Trim .Equals..
|