WinRTにはListの.ForEach()メソッドはありません
WindowsストアアプリのためのWinRTではList
.ToList().ForEach()ではなくforeachループを使用してください。
以上終わり。
Where is List.ForEach() - Windows Store apps Forums http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/758f7b98-e3ce-41e5-82a2-109f1df446c2 List
- -
.ForEach has been removed in Metro style apps. While the method seems simple it has a number of potential problems when the list gets mutated by the method passed to ForEach. Instead it is recommended that you simply use a foreach loop. Wes Haggard | .NET Framework Team (BCL) | http://blogs.msdn.com/b/bclteam/
- -