What is the real use of interface in c#?
Answer / Indira Kumari
Interfaces in C# are primarily used to define a contract or set of methods that must be implemented by classes that want to adhere to that contract. They enable loose coupling, making it easier to swap implementations and promoting testability.
| Is This Answer Correct ? | 0 Yes | 0 No |
List some of the common data providers for ado.net framework?
what is the purpose of Interfaces?
What is primitive types in c#?
What is the difference between c and c sharp?
What is default c#?
What is delegates in c#?
What is the delegates in c#?
Tell us something about static linking and dynamic linking?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
int i = 1; int j = 1; System.Console.WriteLine(i == j); System.Console.WriteLine(i.ToString() == j.ToString()); System.Console.WriteLine((object)i == (object)j); Give the sample code above, what is the output to the console?
Define mutex in C#?
What is static void main in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)