Define an abstract class?
Answer / Prveen
An abstract class in C# is a type of class that cannot be instantiated directly and serves as a base class for other classes. Abstract classes contain at least one or more abstract methods, which are method signatures without any implementation. To declare an abstract class, use the keyword 'abstract' before its name:
```csharp
abstract class MyAbstractClass
{
public abstract void MyAbstractMethod(); // Abstract method signature
}
```
| Is This Answer Correct ? | 0 Yes | 0 No |
how background thread access to ui control?
What is difference between "as" and "is" keyword?
What are the different approaches of passing parameters to a method?
Can you override private virtual methods?
What is Implementation inheritance
What is protected internal modifier in C#?
What namespaces are necessary to create a localized application?
How can I develop an application that automatically updates itself from the web?
What?s a delegate?
What is different between Implicit conversion and Explicit conversion in C#?
Is boxing an implicit conversion?
What is msil 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)