看板 C_Sharp 關於我們 聯絡資訊
有兩個字串陣列A[],B[] 想寫一個取其聯集的程式 C[] = A[] 聯集 B[] 要如何下手呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.25.144.101
horngsh:MSDN Array class, such as Merge method. 03/18 12:07
fphoenix923:C = A.Join(B).ToArray() 03/20 00:18
fphoenix923:打錯應該是Union 03/20 00:19