Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# remove all null from list

List<EmailParameterClass> parameterList = new List<EmailParameterClass>{param1, param2, param3...};
parameterList.RemoveAll(item => item == null);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #null #list
ADD COMMENT
Topic
Name
7+3 =