can we create an empty interface with no definitions? If
so, how it should be called in the class?

Answer Posted / rajat

Yes, we can create an empty interface in C#. Since the
interface does not have any method, no need to implement
any method in the class.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is arraylist faster than linkedlist?

483


From which base class do all Web Forms inherit from?

511


can multiple catch blocks be executed for a single try statement?

515


what is difference between is and as operators in c#?

526


Is c# used for any core features of windows vista?

507






explain the nature of the assembly work?

2091


How do I type a whitespace character?

517


What is serialization in .net?

552


What does int parse do in c#?

463


who is a protected class-level variable available to?

529


What is the benefit of using interface in c#?

486


Can constructor be overloaded in c#?

464


What are the problem with .NET generics?

538


There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?

1573


What is namespace give the example?

450