ishape.cs

来自「this is a good book for the visual c#」· CS 代码 · 共 11 行

CS
11
字号
// Fig. 10.19: IShape.cs
// Interface IShape for Point, Circle, Cylinder Hierarchy.

public interface IShape
{
   // classes that implement IShape must implement these methods
   // and this property
   double Area();
   double Volume();
   string Name { get; }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?