Advance Operation using LINQ to object

In certain cases you might find yourself in need to do sum for a field that is a member of object in a list or collection. Doing summation for a certain field is somehow an easy job. What if you want to do Average or more complicated equation. Definitely you will write a long procedure to do the needed job.
Well, if you decided to use LINQ to Object to do the job for you, then you might do the job by writing couple of lines of code. Yes, it will be as simple as that.
Yasser Jaber wrote a short article about this in Integrant’s blog

What is LINQ to Object

LINQ is a new language introduced in .net framework 3.5. it is so much useful for developer as it is freeing developer from writing large number of code lines. If you did not try it yet,  I strongly recommend to read the following article that I posted to my company blog site. this post explain basic things of LINQ to object language..

Read more