c# generic class
public class Car<TManufacturer, TModel,TYear>
{
public TManufacturer manufacturer;
public TModel model;
public TYear year;
public Car(TManufacturer manufacturer, TModel model, TYear year)
{
this.manufacturer = manufacturer;
this.model = model;
this.year = year;
}
}
// after we initialize it with
public Car<string, string, int> car = new Car<string, string, int>();
//by iq18but18cm