转:https://www.cnblogs.com/zzy2740/archive/2005/09/20/240808.html
C#中的abstract类不能被实例化,他只提供其他类的继承的接口
using System;
abstract class MyAbs
{
public void NonAbMethod()
{
Console.WriteLine("Non-Abstract Method");
}
}
class MyClass : MyAbs
{
}
class MyClient
{
public static void Main()
{
//MyAbs mb = new MyAbs();//不能实例化
MyClass mc = new MyClass();
mc.NonAbMethod();
}
}