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 |
Where test director stores its data ? Database ,Local file etc...? I need to read this data from Visual Studio 2005 c# client. Regards
What is semaphore in c#?
What is the ouput of the following program?
What operator means?
What is the difference between “out” and “ref” parameters in c#?
What is a multicast c# delegate?
What is meant by desktop application?
What is a generic method?
What is a system lock?
What is null character in string?
Where is the output of TextWriterTraceListener redirected?
What is the difference between arraylist and list in c#?