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