C# - Func

C# - Func

C# - Func We have learned in the previous section, that a  delegates  can be defined as shown below. Example: C# Delegate public d...
C# - Anonymous Method

C# - Anonymous Method

C# - Anonymous Method As the name suggests, an anonymous method is a method without a name. Anonymous methods in C# can be defined using...
Events and Delegates Part 2

Events and Delegates Part 2

C# - Delegate A function can have one or more parameters of different data types, but what if you want to pass a function itself as a pa...
Events and Delegates

Events and Delegates

Events are used to decouple the Caller from the Methods Calls. Events are used to replace Method Calls. Events encapsulate the Meth...