.NET , . new ed Node, , , , " ". Node* T = new Node() , .
What you are trying to do is wrong: don't copy and paste C ++ code in C #, this is stupid. If you've already tested, C ++ components use the .NET / unmanaged interop to marshal data between the two worlds, although I would not recommend doing this at this level of abstraction. If you are doing the exercise, implement the AVL tree only in the .NET world, otherwise use one of the frame collections with equivalent functionality, for example. SortedSetor SortedDictionary...
source
share