Lambda Expressions

Introduction In the earlier post, we talk about anonymous methods, we had seen that by using anonymous methods, we can define a method without providing a name to the method, in addition to it, we were also not required to specify the access specifier and the return type of the method. Lambda expressions are a further shortcut to writing anonymous methods. To understand more let’s … Continue reading Lambda Expressions

C# Anonymous methods Interview Question

Collection of typically Interview Questions on anonymous methods for interview preparation. you can also read more about anonymous methods. Alternatively, you can also test your knowledge by an online free quiz for anonymous methods. Interview Question: What is Anonymous method? Answer: Anonymous methods were introduced into C# 2 as a way of creating delegate instances without having to write a separate method. They can capture local … Continue reading C# Anonymous methods Interview Question