In C#, extension methods can be created by
public static class MyExtensions { public static ReturnType MyExt(this ExtType ext) { ... } }
You just have to decorate the method and the containing class with ExtensionAttribute:
using namespace System::Runtime::CompilerServices; ... [ExtensionAttribute] public ref class MyExtensions abstract sealed { public: [ExtensionAttribute] static ReturnType MyExt(ExtType ^ext) { ... } };