Conversion Operators

To convert from any type to another type of collection.

There are couple methods like .ToList(), .ToArray() method

birds.Where(b => b.Color == "Red").ToList();
birds.Where(b => b.Color == "Red").ToArray();

results matching ""

    No results matching ""