Multiple choice technology programming languages

lambda operator(=>) is a C# 2008 feature. Where is lambda operator mainly used?

  1. Database Operations

  2. Delegate Operations

  3. File Handling Operations

  4. Memory Stream Operations

Reveal answer Fill a bubble to check yourself
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.