[System.Runtime.InteropServices.DllImport("kernel32", EntryPoint="GetPrivateProfileStringA")]
public long GetPrivateProfileString(string lpApplicationName, Any lpkeyName, string lpDefault, string lpReturnedString, long nSize, string lpFileName);
public long GetPrivateProfileString(string lpApplicationName, Any lpkeyName, string lpDefault, string lpReturnedString, long nSize, string lpFileName);
Public Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpkeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
---[System.Runtime.InteropServices.DllImport("kernel32", EntryPoint="GetPrivateProfileStringA")]
public long GetPrivateProfileString(string lpApplicationName, Any lpkeyName, string lpDefault, string lpReturnedString, long nSize, string lpFileName);2. Public grrr() As String (VB)
C#中可以定义维数不定的数组吗?
------public string[] grrr;
但是这是未实例化的,public string[] grrr=new string[];是不行的;可以使用动态数组ArrayList
分别对应C#中什么?
---------???4. Public Conditions As New Collection
vb中的类型collection 到了C#里变什么?
------ 一样
vb中的类型collection 到了C#里变什么?
------ 一样???不一样吧?
孟老大帮我看个贴:
http://community.csdn.net/Expert/topic/3314/3314371.xml?temp=.4660761