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 property c#?
How do I create a .exe file?
Explain what is copy constructor?
What is a thread c#?
What is Wrapper class in dot net?
Which is more efficient for loop or while loop?
What does int parse do in c#?
What is a base class in C#?
What is the advantage of generics in c#?
What is a jagged array?
What is the differences between datagrid, datalist and repeater in .net?
Which sorting algorithm is best?
In c#, what will happen if you do not explicitly provide a constructor for a class?
Is list immutable in c#?
how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com