Is there a default method defined in .Net for C# to remove all the elements within a list which are null?
null
List parame
You'll probably want the following.
List parameterList = new List{param1, param2, param3...}; parameterList.RemoveAll(item => item == null);