这个定义能否简化
ljhwz 2003-08-18 07:13:43 [DllImport("wtpos.dll")]
public static extern int aaa(int Port);
[DllImport("wtpos.dll")]
public static extern int bbb();
[DllImport("wtpos.dll")]
public static extern int ccc(byte nAdr,byte nResult);
[DllImport("wtpos.dll")]
public static extern int ddd(string nCardID);
请问这个定义能否简化.如:变成如下样式
[DllImport("wtpos.dll")]
{
public static extern int aaa(int Port);
public static extern int bbb();
public static extern int ccc(byte nAdr,byte nResult);
public static extern int ddd(string nCardID);
}