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