static void Main(string[] args) { RectangularGrid x = new RectangularGrid(); Console.WriteLine(x.countRectangles(592, 964)); Console.ReadLine(); }