Is there a default method defined in .Net for C # to remove all items in a list that are null ?
List<EmailParameterClass> parameterList = new List<EmailParameterClass>{param1, param2, param3...};
Let's say some of the parameters are null ; I cannot know in advance, and I want to remove them from my list so that it contains only parameters that are not null.
list null c # element
pencilCake Jun 18 '10 at 12:57 on 2010-06-18 12:57
source share