ishape.cs
来自「C#语言高级编成,我多年总结的经验,肯定能让你学到很多」· CS 代码 · 共 13 行
CS
13 行
// Fig. 7.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 + -
显示快捷键?