What are delegates?where are they used
Answer / kirti
A delegate defines a reference type that can be used to encapsulate a method with a specific signature. A delegate instance encapsulates a static or an instance method. Delegates are roughly similar to function pointers in C++; however, delegates are type-safe and secure.
When do you use virtual keyword ?.
When we need to override a method of the base class in the sub class, then we give the virtual keyword in the base class method. This makes the method in the base class to be overridable. Methods, properties, and indexers can be virtual, which means that their implementation can be overridden in derived classes.
Is This Answer Correct ? | 0 Yes | 0 No |
How large is the .net framework 3.0? Does this change make the release larger?
what is MVC pattern?
What is CLR? How it will work?
Why do you need to box a primitive variable
What does assert() method do?
1 Answers MCN Solutions, Siebel Systems,
What is CLR and how it generates native code ?
1 Answers Digital GlobalSoft, Vital Soft,
How we can invoke child actions in ASP.Net MVC?
Microsoft introduced c# as a de facto language of the .NET platform. What is mean by de facto and fot what purpose? Please answer me. Advance thanks.
what are abstract classes? what is overriding?
how to maintain the session state? what is Abstract class and interface and inheritence with example?
What are sections?
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?