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
What happens when thread sleep () method is called?
What is xor operator in c#?
What is a shared assembly?
What is singleordefault c#?
From which base class do all Web Forms inherit from?
Which is better interface or abstract class in c#?
What are the types of access modifiers?
When Should You Call The Garbage Collector In .net?
What are the different types of constructors?
List the difference between interface and abstract class?
Explain the ways to deploy an assembly?
What is the difference between a class and an object c#?
explain Garbage collector’s functionality on unmanaged code
What is the use of readkey in c#?
What is the use of 0 in c#?