看板
[ C_Sharp ]
討論串[問題] Linq 似乎做不到並排的 join ???
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
我後來也到 MSDN forum 問了相同的問題,得到幾個相當不錯的答案. http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/a6be2f92-1339-4ced-9dd8-8fc0ea149609貼出來與大家分享
(還有140個字)
內容預覽:
var nums = new[] { 1, 2, 3};. var strs = new[] { "one", "two", "three" };. var ls = from num in nums. from str in strs. where (num == 1 && str == "one
(還有128個字)
內容預覽:
假設有兩個 arrays. int[] numbers = new int[] { 1, 2, 3 };. string[] names = new string[] { "one", "two", "three" };. 我想用 Linq 將兩者並聯以便依序並排處理,也就是利用. from n i
(還有136個字)
首頁
上一頁
1
下一頁
尾頁