What are the benefits of using the aggregate method in linq?



What are the benefits of using the aggregate method in linq?..

Answer / Shatrughan Singh Sengar

The Aggregate method in LINQ allows you to define a custom reduction operation on a sequence. It's useful for calculating totals, minimum and maximum values, finding the first or last item in a sequence, and more.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is out int in c#?

1 Answers  


What is throw in c#?

1 Answers  


how can we pass parameters to a user control using delegates ?

1 Answers   IBM,


What is the difference between array.find method and arraylist.find method?

1 Answers   Mphasis,


How to achieve polymorphism in c#?

1 Answers  


Describe ways of cleaning up objects in c#.

1 Answers  


What is the purpose of dependency injection?

1 Answers  


What is Interface? Explain with an example.

8 Answers   TCS,


If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?

1 Answers  


About a class access specifiers and method access specifiers ?

3 Answers   MMTS,


What is public, private, protected, internal and internal protected?

1 Answers   QuestPond,


may we achieve polyphormsm through overloading a funtion?Is it right or wrong concept because i read polyphormism can be achieved through overloading?plz help me thnks

1 Answers  


Categories