Can you declare the override method static while the
original method is non-static?

Answer Posted / kishore.a

To override an method we need to explicitly mention
override keyword in the child class and virtual or abstract
keyword in base class.

Here in this case neither of the keywords are used.Hence it
is not possible..

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s thread.sleep() in threading ?

505


How does substring work in c#?

476


Describe two uses of the “using” statement during the operation of c#?

545


What does an indexer do?

475


Is exe is machine dependent?

494






What is the differences between datagrid, datalist and repeater in .net?

475


What is an iqueryable in c#?

497


Why do we need properties in c#?

491


Why do we need indexers in c#?

470


What are extender provider components? Explain how to use an extender provider in the project.

497


Can we set image Source dynamically using C# in WPF application?

628


What is variable in c#?

510


Does hashset allow duplicates c#?

514


Explain what is copy constructor?

548


Is stringbuilder better than string?

511