LINQ in Collection

These are some basic steps of implementing LINQ methods and to modify the existing data in collection.

Four different types of implementations are added:

  1. Change the values in collection using ".All" method instead of "for each"
  2. Find the sum of values based on conditions.
  3. Find the duplicated objects and remove them.

I will keep posting some useful tips and tricks using LINQ.

Hope you all enjoy it.