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
Why dictionary is used in c#?
What are the delegates in c#?
What is transparent caching with aop ?
What are the types of inheritance in c#?
Why ienumerable is used in c#?
What are floating point numbers?
What is a hashset c#?
What is default value of decimal c#?
What is the keyword used to prevent a class from being inherited by another class?
What does question mark mean in c#?
What exception can an overridden method throw in comparison with the method it is overriding?
What is threading in c# with example?
Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?
List some of the common data providers for ado.net framework?
What is the use of console readkey ()?