public class SampleType<T>
public T Data { get; set; }
public string Make { get; set; }
public string Model { get; set; }
public static void Main()
SampleType<int> x = new ();
Console.WriteLine("X:" + x.Data);
SampleType<string> y = new ();
Console.WriteLine("Y: " + (y.Data == null));
SampleType<Car> newCar = new ();
Console.WriteLine("New Car: " + (newCar.Data == null));