Content deleted Content added
→Mapping in .NET Procedural Languages: clarify the example - describe the use of the anonymous function syntax |
|||
Line 33:
==Mapping in .NET Procedural Languages==
The map function in .NET Procedural languages like C# or VB.NET (as of C# 2.0 and VB 8.0) is supported through the [http://msdn2.microsoft.com/en-us/library/73fe8cwf.aspx ConvertAll method] of the generic list type,
[http://msdn2.microsoft.com/en-us/library/6sh2ey19.aspx System.Collections.Generic.List<T>]. Here's an example that combines the use of ConvertAll() with the use of [[anonymous functions]], support for which was added to C# in version 3.0 (November 2007).
<source lang="csharp">
|