What is the use of static abstract class
Answer Posted / radheshayam
An abstract class cannot be sealed or static.Exe
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication31
{
public abstract class hi
{
public abstract void disl();
}
class Program : hi
{
public override void disl()
{
string name = "radhey" + "Shyam";
Console.WriteLine(name);
Console.ReadLine();
}
static void Main(string[] args)
{
Program obj = new Program();
obj.disl();
}
}
}
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Is a char?
When do we generally use destructors to release resources?
What is a race condition?
What does using do in c#?
What is default constructor c#?
Is hashset serializable c#?
Which is executed if an exception has not occurred?
What is parsing? How to parse a date time string?
Distinguish between system.string and system.text.stringbuilder classes?
What is type checking in c#?
Describe ado.net?
Explain more on CLR
Which is better javascript or c#?
Explain about finalize method?
How big is a 64 bit integer?