摘要:
foreach循环// An array of integersint[] array1 = {0, 1, 2, 3, 4, 5};foreach (int n in array1){ System.Console.WriteLine(n.ToString());}// An array of stringsstring[] array2 = {"hello", "world"};foreach (string s in array2){ System.Console.WriteLine(s);}for循环// An array of integersi 阅读全文
posted @ 2008-11-07 15:11
羽林.Luouy
阅读(8340)
评论(1)
推荐(0)
浙公网安备 33010602011771号