What is the difference between interface and abstract class in c#?
Answer / Kapil Deol
An interface in C# defines a contract for a set of methods, properties, and events, while an abstract class can contain method implementations. An interface cannot be instantiated, but it can be implemented by a class. An abstract class can be instantiated and inherits from another abstract class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is c# an open source language?
Why is xml called extensible?
in the nunit test framework, which attribute must adorn a test class in order for it to be picked up by the nunit gui?
What do you mean by directing?
Can you put two constructor with the same structure in a class?
Is c# a keyword?
Explain the functionalities of satellite assembly?
what are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?
What if an error occurs in Catch block, how can you prevent it?
What are the uses of delegates in c#?
What is the use of regex in c#?
What is cshtml extension?
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)