Perform a generic operation between two points and store the result in the first point

C# | Visual Basic | Visual C++ |
public void _Convert<TOther>( Point<TOther> p2, Toolbox..::.Func<T, TOther, T> convertor ) where TOther : new(), IComparable
Public Sub _Convert(Of TOther As {New, IComparable}) ( _ p2 As Point(Of TOther), _ convertor As Toolbox..::.Func(Of T, TOther, T) _ )
public: generic<typename TOther> where TOther : gcnew(), IComparable void _Convert( Point<TOther>^ p2, Toolbox..::.Func<T, TOther, T>^ convertor )

- TOther
- The type of the second point

- p2 (Point<(Of <(TOther>)>))
- The second point to apply generic operation
- convertor (Toolbox..::.Func<(Of <(T, TOther, T>)>))
- The generic operator