can we create an empty interface with no definitions? If
so, how it should be called in the class?
Answer Posted / bindu sharma
Yes we can create an empty interface.Empty interface is
called a marker interface.It is used by Comiler so we don't
need to call it explicitly.As there is no method in marker
interface,So we don't need to call it.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What are accessors?
What is integer c#?
What is writeline in c#?
Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.
What is meant by collections in c#?
What is console based application?
Are there constructors in c sharp?
Can we call server-side code (c# or vb.net code) from javascript?
Define a partial class?
State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?
What is difference between struct and class in c#?
What is gui in c#?
Is it possible to inherit multiple interfaces?
Does c# have primitives?
Explain constructor in c#?