List<EmailParameterClass> parameterList = new List<EmailParameterClass>{param1, param2, param3...}; parameterList.RemoveAll(item => item == null);
myList.Clear(); //removes all the values in the list
resultlist.RemoveAt(1);