C# - Func We have learned in the previous section, that a delegates can be defined as shown below. Example: C# Delegate public d...
- Home All posts
C# - Anonymous Method
08:21 /
Muhammad Sohail /
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
05:53 /
Muhammad Sohail /
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
05:46 /
Muhammad Sohail /
Events are used to decouple the Caller from the Methods Calls. Events are used to replace Method Calls. Events encapsulate the Meth...