Answer Posted / lakshmi
1)An Interface is a reference type and contains only
abstract members.
2)Interface contains declaration of methods, properties,
Indexers and events.
3)You can never instantiate an interface, it only contains
signature of its members.
4)An Interface has neither constructors nor fields.
5)An Interface definition also not permitted to contain
operator overloads.It is also not permitted to declare
modifiers on the members in an Interface definition.
6)An Interface members are always implicitly public and
cannot be declared as virtual or static.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Can extension methods access private members?
What is virtual class in C#?
What is dictionary and hashtable in c#?
What are the types of comment in c# with examples?
Is c# static or dynamic?
Is equal in c#?
What is overloading in c#?
What framework is used for performance testing/load testing?
How do destructors and garbage collection work in c#?
Can you mark static constructor with access modifiers?
Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?
What is hashtable in c# net with example?
What is a private class in c#?
Name any three ways to pass parameters to a method in c#?
Should I use double or float?