Reputation: 225
I want to create C++/CLI wrapper on the below C# code.
public static class Helper
{
public static int? GetCodes(string input)
{
// Implementation of the logic.....
return 1;
}
}
Upvotes: 11
Views: 7490
Reputation: 2621
public ref class Helper abstract sealed
{
public:
static System::Nullable<int> GetCodes(System::String^ input) { /* impl logic */ }
};
Upvotes: 24