static void Main() { MyMatrix matrix = new MyMatrix(4, 5); matrix.FillMatrix(); matrix.PrintMatrix(); Console.WriteLine("\n\nChange width: "); matrix.ChangeWidth(7); matrix.PrintMatrix(); Console.WriteLine("\n\nChange height: "); matrix.ChangeHeight(10); matrix.PrintMatrix(); Console.ReadKey(); }