SyntaxFix
Write A Post
Hire A Developer
Questions
The other best solution as below to check empty or not ?
for(var item in listEnumerable) { var count=item.Length; if(count>0) { // not empty or null } else { // empty } }