public static void Main()
Square s= new Square(20);
public static void Log(object o)
public uint Width { get; private set;}
public uint Height { get; private set;}
public Rectangle(uint width, uint height)
public Rectangle Squish(uint amount)
return new Rectangle(this.Width * amount, this.Height / amount);
public override string ToString()
return string.Format("Height: {0}, Width: {1}", this.Height, this.Width);
public class Square : Rectangle
public Square(uint sideLength) : base(sideLength, sideLength)