can it possible to acees the virthual method using the
override method object?
plz give me the example

Answer Posted / aspdev556

class BaseClass
{
public virtual Method(){}
}

class DerivedClass
{
public override Method()
{base.Method();}
}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Show Message box in Metro Style App?

758


Which control cannot be placed in mdi?

713


Why is it important to override gethashcode when equals method is overridden?

748


What is the c# equivalent of c++ catch (…), which was a catch-all statement for any possible exception? Does c# support try-catch-finally blocks?

680


What is the diff between the System.Array.CopyTo() and System.Array.Clone()?

757


Can you create partial delegates and enumerations?

776


What is private constructor c#?

678


What are types in c#?

671


Which of these string definitions will prevent escaping on backslashes in c#?

762


Which program construct must return a value?

748


What is a partial class in c#?

659


what is the difference between .dll and .exe

724


What Is An Interface Class?

763


Is it possible to nest cfml conditional tags?

715


What do you mean by stack and heap in c#?

655