Is this matrix square? That is, does it have the same number of rows and columns?

C# | Visual Basic | Visual C++ |
public bool IsSquare()
Public Function IsSquare As Boolean
public: bool IsSquare()

True if the matrix is square.
C# | Visual Basic | Visual C++ |
public bool IsSquare()
Public Function IsSquare As Boolean
public: bool IsSquare()