Tag Archives: Delegates

Interview questions and answers for 3-8 year experience

What is the difference between an abstract class and interface? When would you want to use them? OOP Concepts practical questions example in C# Static Class in C# What are Anonymous methods? What is the difference between Finalize()and Dispose()? What is the difference between ref and out parameters? What is the difference between Var, object… Read More »

Delegates in c#

C# delegates are similar to pointers to functions, in C or C++ which are used for implementing events and the call-back methods. It’s a reference type variable which holds the reference to a method and their can be changed at runtime.It uses namespace System.Delegate . It can be declared with “delegate” keyword for example public… Read More »