Can interface have virtual methods in c#?



Can interface have virtual methods in c#?..

Answer / Shatrughan Singh Sengar

"No, interfaces in C# cannot have any implementation (i.e., method bodies). They only define the signatures of methods that need to be implemented by implementing classes."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What are the security issues if we send a query from the application?

1 Answers   Microsoft,


What is the difference between static class and abstract class in c#?

1 Answers  


How to use the sreamReader class to read form a text file?

1 Answers   MCN Solutions,


What?s a multicast delegate?

3 Answers  


What is equal c#?

1 Answers  


About Virtual functions and their use ?

13 Answers   MBITS, MMTS,


Difference between C++ and C#.net

19 Answers   Google, TCS, Wipro,


Explain copy constructor?

1 Answers   Accenture,


What is the difference between structure and class in c#?

1 Answers  


Do void methods have parameters?

1 Answers  


How do I run a cshtml file?

1 Answers  


What is static classes?

1 Answers  


Categories