SyntaxFix
Write A Post
Hire A Developer
Questions
I prefer to use two options, white spaces and empty:
test = test.Where(x => !string.IsNullOrEmpty(x)).ToArray(); test = test.Where(x => !string.IsNullOrWhiteSpace(x)).ToArray();