小编Lat*_*tha的帖子

C++/CLI中C#的静态类/方法的等价物

我想在下面的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)

c# c++-cli

5
推荐指数
1
解决办法
3055
查看次数

标签 统计

c# ×1

c++-cli ×1