© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
V. SarcarTest Your Skills in C# Programming https://doi.org/10.1007/978-1-4842-8655-5_10

10. Delegates

Vaskaran Sarcar1  
(1)
Garia, Kolkata, West Bengal, India
 

Welcome to Part III of the book. Here you will start reviewing the concept of delegates, which are the foundation for advanced programming in C#. Before we jump into it, let’s review some basic stuff.

To create an object, say obA from class A, you can write something like the following: A obA=new A();. Here, obA is a reference (often called a variable) that points to an object named A. Similarly, a delegate is also a reference type, but it points to methods.

Let’s understand its significance from another ...

Get Test Your Skills in C# Programming: Review and Analyze Important Features of C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.