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

Explain about asp.net state management?

618


What websites use asp.net?

526


Where is the view state data stored?

578


What is session and application variable in asp net?

464


Where is the view state data stored in asp net?

565






How can you implement the postback property of an asp.net control?

536


How can you dynamically add user controls to a page?

516


A Web Service Can Only Be Written In .net. Is it True??

644


What is the mvc model?

581


Where is the session stored?

639


What is new asp.net core?

575


What is the difference between Hash table and Array list?

376


Which browsers support the xmlhttprequest object?

524


What is application variable in asp.net?

469


What is the advantage of mvc over asp.net? : Asp.Net MVC

511