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
Is arraylist faster than linkedlist?
From which base class do all Web Forms inherit from?
can multiple catch blocks be executed for a single try statement?
what is difference between is and as operators in c#?
Is c# used for any core features of windows vista?
explain the nature of the assembly work?
How do I type a whitespace character?
What is serialization in .net?
What does int parse do in c#?
who is a protected class-level variable available to?
What is the benefit of using interface in c#?
Can constructor be overloaded in c#?
What are the problem with .NET generics?
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?
What is namespace give the example?