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 difference between method parameters and method arguments. Give an example?
Can a struct be null?
Explain how to add controls dynamically to the form using c#.net.
what is a constructor?
5 Answers Amazon, Amdocs, Choice Solutions,
What does an indexer do?
what is the scope of anonymous type ?
If you want to convert a base type to a derived type, what type of conversion do you use?
Why do we use Design Pattern?
What does immutable mean in c#?
What is alias in c#?
What are primitive data types in c#?
What is extended method in c#
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)