lambda operator(=>) is a C# 2008 feature. Where is lambda operator mainly used?
-
Database Operations
-
Delegate Operations
-
File Handling Operations
-
Memory Stream Operations
B
Correct answer
Explanation
The lambda operator (=>) in C# is primarily used for creating anonymous functions that work with delegates and expression trees. Lambda expressions are extensively used with LINQ queries, event handlers, and functional programming patterns. While they can be used in various contexts, their main purpose is delegate manipulation.