Implementing interfaces and deriving from classes is commonplace in many codebases. Today we’ll make it so C++ classes can implement C# interfaces and derive from C# classes. This means our C++ game code will be able to implement custom IComparer
classes for sorting a List
and derive custom EventArgs
for dispatching in events. Read on to see how this is implemented and how to use it in our projects.