Answer Posted / mohit bhandari
An interface is a named set of method signatures.Interfaces
can also define events and properties because all of these
are just syntax shorthands that map to methods anyway.
In C#, interface keyword is used to define an interface,
giving it a name and its set of instance method signatures.
e.g.
public interface IDisposable {
void Dispose();
}
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
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.
Describe two uses of the “using” statement during the operation of c#?
What is private variable?
What is multithreading? What are the problems that comes with multithreading and how to manage them?
How Reflection is used and what it's significance ?
Classes and structs can be declared as static, is this statement true or false?
Name the property of the textbox which cannot be changed at runtime?
Define Abstract Class in C#
update data in an xml file which resides in solution itself, using silverlight 4.0
When should we use delegates in c#?
Are tuples immutable c#?
Is post back in c#?
What is cshtml?
What is application c#?
What is datareader c#?