Csharp / C# linq select transformation example

A simple example to transform the select in linq.

Example:

using System; using System.Linq;

class LinqSelectTransformExample { static void Main(string[] args) {

string[] strActuals = { “Being”, “Human”, “helping humans” }; int[] nums = { 0, 1, 2};

var result = from n in nums select strActuals[n];

foreach (string str [...]

Page 1 of 212