Tell me Asp.net Method Overriding.

Answer Posted / kkk

same method and same args in base and derived classes simple.

class a
{
public virtual void m1(int a,int b)
{}
}
class b:a
{
public override void m1(int a,int b){}
}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would ASP and ASP.NET applications run at the same time on the same server?

2079


Can a .net web application consume java web service?

646


What is difference between abstract class and an interface?

610


How asynchronous call can be implemented using delegates?

677


What are the best practices to follow to secure connection strings in an ASP.NET web application?

675






What is session and cookies in asp.net?

671


Describe the method to create a permanent cookie?

701


How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.

747


What is preprocessor in .net?

639


What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

705


Explain the use of view state?

697


Which class is used to send an email message from an ASP.NET Web page?

688


What is session mode in asp.net?

630


What are type/key pairs in client script registration?

703


What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC

639