Question: 1. When would you use a lambda function instead of a delegate and why? Are there are disadvantages? 2. Give an example of when a

1. When would you use a lambda function instead of a delegate and why? Are there are disadvantages?

2. Give an example of when a lambda expression would be converted to an expression tree rather than a delegate.

3. How could events (or the general publish/subscribe) be used in a video game? Give an example of a feature from a game that you think could have been implemented that way.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!