rational.cs
来自「csharp-solution,C#高效编程源码」· CS 代码 · 共 20 行
CS
20 行
namespace Rational
{
using System;
/// <summary>
/// Rational defines a class for holding and manipulating rational numbers
/// </summary>
public class Rational
{
private int dividend;
private int divisor;
// Define constructors
// Define operators
// Override methods
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?