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
How can I produce an assembly?
How to add a readonly property in c#.net
Why do I get a syntax error when trying to declare a variable called checked?
What is datagridview in c#?
These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.
List some of the classes used by system.data namespace?
Is datetime nullable c#?
What is difference between first and firstordefault?
What does void do in unity?
Do extension methods have to be static?
What are the types of operator?
What are reflections in c#?
How does substring work in c#?
How do I do a case-insensitive string comparison?
What do you mean by jagged arrays in c#?