Coc*_*Dev 1 c# arrays arguments c#-4.0
private bool DisplayErrorMessages(String array1[], String array2[])
Run Code Online (Sandbox Code Playgroud)
Intellisense不会将array1显示为可用,VS2010的变量下划线为红色
Rob*_*ine 10
private bool DisplayErrorMessages(String[] array1, String[] array2)
Run Code Online (Sandbox Code Playgroud)
与C++不同,在C#中,您必须将方括号放在Type的末尾:
private bool DisplayErrorMessages(String[] array1, String[] array2)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
88 次 |
| 最近记录: |