Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

remove empty strings from list c#

dtList = dtList.Where(s => !string.IsNullOrWhiteSpace(s)).ToList();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #empty #strings #list
ADD COMMENT
Topic
Name
7+9 =