public static void Main()
Shirt shirt1 = new Shirt();
Shirt shirt2 = new Shirt("Plaid", "Black", "Medium");
private string material, color, size;
this.material = "Fabric";
public Shirt(string _material, string _color, string _size)
this.material = _material;
public void SetMaterial(string _material)
this.material = _material;
public void SetColor(string _color)
public void SetSize(string _size)
public string GetMaterial()
Console.WriteLine("Shirt Material: " +this.material);
Console.WriteLine("Shirt Color: " +this.color);
Console.WriteLine("Shirt Size: " +this.size);