摘要:
无参、无返回值的函数: using System; class MyClass { static void Show() { Console.WriteLine("function"); } static void Main() { Show(); //function Console.ReadKey(... 阅读全文
摘要:
字符串数组: using System; class MyClass { static void Main() { string[] arr = new string[3] { "aa", "bb", "cc" }; foreach (string s in arr) Console.WriteLine(s); // aa/bb/cc ... 阅读全文