About Abstract

    abstract class ShapesClass
    {
        public static  void Printf()
        {
            System.Console.WriteLine("here is abstract");
        }
    }

ShapesClass.Printf();


today i  get puzzle about abstract, so  i  try to do example

 

abstract method only can be used in abstract class.

posted on 2011-11-14 17:23  子虚乌有  阅读(148)  评论(0)    收藏  举报