What is the use of static abstract class
Answers were Sorted based on User's Feedback
Answer / srini
We cannot give static key word for abstract class
Is This Answer Correct ? | 21 Yes | 5 No |
Answer / 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 |
Answer / kishore.a
We cannot mention an abstratct class as static..
Is This Answer Correct ? | 3 Yes | 3 No |
What is the boxing and unboxing in c#?
How can we give strong name to assembly? What is satellite assembly?
What does clr stand for?
What?s an interface class?
What is immutable in C#?
0 Answers SwanSoft Technologies,
Is array a list?
Can abstract class be instantiated c#?
Difference between direct type casting and using "as" keyword?
What is c# used for?
Describe the difference between inline and code behind - which is best?
What does type safe mean in c#?
What is mvc pattern in c#?