new { i, value } Creating a newAnonymous object 。 If you are using C# 7.0 or higher, you can use ValueTuple Avoid heap allocation: foreach (var item in ...
確定! 回上一頁