private static void Main(string[] args) { PlayWidthShape(); ShapeArray sa = new ShapeArray(); sa.MyList(); }
private static void PlayWithCollection() { ShapeArray sa = new ShapeArray(); sa.DimensionalArray(); sa.MyList(); sa.MyDictionary(); }
static void PlayWithShape() { Shape a = new Cube(12, 10); Console.WriteLine(a.Volume()); Cube b = new Cube(12, 6); Console.WriteLine(b.Volume()); Square c = new Cube(12, 5); Console.WriteLine(c.Volume()); ShapeArray sharr = new ShapeArray(); sharr.MyDictionary(); sharr.MyList(); }