110,536
社区成员
发帖
与我相关
我的任务
分享
private void TestMethod(string foo,
[Optional, DefaultParameterValue("bb")] string x)
{
}
TestMethod("a");
[DllImport("TestCppDll.dll", EntryPoint = "test", CharSet = CharSet.Unicode)]
static extern int test(string path, [Optional, DefaultParameterValue("bb")]string result);