That's not C#. "ref class" isn't C#. It could be C++/CLI or C++/CX. Both are Microsoft-invented extensions of C++ aimed at interoperating with Microsoft's technologies (.Net for C++/CLI, WinRT for...