I want to write a method that will create a List of the type I define in the method parameters. So if I have 3 classes: Student, Teacher and Janitor, the method should create a List of whatever type is passed in
public void methodName(TYPE){
List<TYPE> results = new List<TYPE>();
}
What should I be using for TYPE?