VB代码转换为C#代码

2025-03-22 20:31:28
推荐回答(2个)
回答1:

string[] S1=new string[200];

[dllimport("SecuComm.dll")]
public static extern bool CommEncode(ref string cSrc, ref string cTar);

Ps:楼上的注意大小写哦,C#是区分大小写的

回答2:

string[] s1=new string[200];