Is there a default method defined in .Net for C# to remove all the elements within a list which are null?
null
List parame
The method OfType() will skip the null values:
OfType()
List parameterList = new List{param1, param2, param3...}; IList parameterList_notnull = parameterList.OfType();