CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Function References

Delegates – Why and how we use them in C#?

Delegates in C# are the references to the methods, to call the methods indirectly. Delegates holds the address of the method(s); so, it will be easy to call methods through Delegates. But, why we use Delegates in C# and why can’t we always call methods directly? Good question. But, the answer is simple. As mentioned […]

Scroll to top