Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain how you can assign a lambda expression to a delegate?



Explain how you can assign a lambda expression to a delegate?..

Answer / Rakesh Kumar

To assign a lambda expression to a delegate in C#, use the '=' operator: Func<T1, TResult> func = item => SomeExpression; Here, Func<T1, TResult> is the delegate type, and the lambda expression is assigned to it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More LINQ Language-Integrated Query Interview Questions

Can we use linq to query against a datatable?

1 Answers  


What are the four linq providers that .net framework ships?

1 Answers  


Write LINQ query to find 2nd highest salary?

1 Answers  


What is the difference between linq to sql and entity framework?

1 Answers  


What are the three main components of linq or language integrated query?

1 Answers  


Can we use linq without entity framework?

1 Answers  


What is system linq?

1 Answers  


What is select clause and where clause in linq?

1 Answers  


What is the difference between the Select clause and SelectMany() method in LINQ?

1 Answers  


How is linq useful than stored procedures?

1 Answers  


How can you handle concurrency at field level in LINQ to SQL?

1 Answers  


Why do we use “contains"? Method for strings type functions?

1 Answers  


Categories