Convert the current rectangle to different depth

C# | Visual Basic | Visual C++ |
public Rectangle<TOther> Convert<TOther>() where TOther : new(), IComparable
Public Function Convert(Of TOther As {New, IComparable}) As Rectangle(Of TOther)
public: generic<typename TOther> where TOther : gcnew(), IComparable Rectangle<TOther>^ Convert()

- TOther
- the depth type to convert to

The current rectangle in different depth