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 is difference between an Structure and Class?
Is list immutable in c#?
Illustrate race condition?
Can abstract class have parameterized constructor?
What are sorted lists?
What is the difference between protected and internal in c#?
Why to use lock statement in c#?
What is the purpose of a console table?
Is c# lazy thread safe?
What is data type in c# with example?
Explain About Postback
Differentiate between dataset and datareader?
Is c++ or c# better?
What are satellite assemblies?
What are the properties of c#?