我想在下面的C#代码上创建C++/CLI包装器.
public static class Helper
{
public static int? GetCodes(string input)
{
// Implementation of the logic.....
return 1;
}
}
Run Code Online (Sandbox Code Playgroud)
chr*_*ris 13
public ref class Helper abstract sealed
{
public:
static System::Nullable<int> GetCodes(System::String^ input) { /* impl logic */ }
};
Run Code Online (Sandbox Code Playgroud)