What is the use of inheritance in c#?
Answer / Balram Sarkar
Inheritance in C# allows a class to derive properties and methods from another class, known as a base or parent class. This promotes code reusability, as the derived class inherits the attributes and behaviors of the base class without needing to write the same code again.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are All kind of access specifiers for a class and for methods
Can we instantiate abstract class in c#?
What is default class in c#?
What is cosole application?
What is difference between arraylist and list in c#?
What is super class in c#?
What are the advantages of generics in c#?
interface a { Method1() Method2() } class b: a { override Method1() override Method2() } what will happen & why?
Explain use of abstract and sealed classes in c#?
What is event and delegates in c#?
What is difference between the "throw" and "throw ex" in .net?
What are Uses of CLR
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)