public void CallGenericMethod() { var plainGeneric = new DataPrinter(); for (int i = 0; i < this.Count; i++) { plainGeneric.Print <object>(); } }
public void CallGenericType() { var generic = new DataPrinter <object>(); for (int i = 0; i < this.Count; i++) { generic.Print(); } }