(1)扁平化的功能:
ex. 將二維陣列 轉成 一維
String[][] names = {
new []{"tony"},
new []{"peggy","alex"},
new []{"richie","annie"}
};
var result = names.SelectMany( name => name);
//這邊的 result 將會是 { "tony", "peggy", "alex", "richie","annie"}
foreach(var r in result){
Console.WriteLine(r);
}