Can you declare an override method to be static if the original method is non-static



Can you declare an override method to be static if the original method is non-static..

Answer / kirti

No. The signature of the virtual method must remain the same, only the keyword virtual is changed to keyword override.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

What is difference between Viewbag and Viewdata in ASP.NET MVC?

0 Answers   NA,


What is the CTS

1 Answers  


Can you declare an override method to be static if the original method is non-static

1 Answers  


How to identify the Code which Complies corresponding Compiler in .NET? Means Suppose, i am taking One project A.. in which code is implemented using C# langugge. And Another Project B..in Which Code is implemented using VB.NET. Suppose I am creating Project C. i am adding Reference of Project A and B to Project C. So, in Project C, how to identify Project A is Complied through CSCompliler? And Project B is Compiled VBCompiler at Runtime?

1 Answers  


what is MVC pattern?

2 Answers  


WHICH IS MORE SECURED AMONG JAVA AND .NET?

7 Answers  


How does servicing work for the .net framework 3.0?

0 Answers  


Mention two instances where routing is not implemented or required?

0 Answers   Infosys,


How to free the memory that is not used by an object in garbage collection?

4 Answers   IBM,


What is work of clr?

0 Answers  


Is mvc 4 supporting windows azure sdk (software development kit) ?

0 Answers  


Httpcontext objects?

2 Answers   HACL, HP,


Categories