📄 coordinate.cs
字号:
namespace Utils
{
using System;
// Sample class that implements the IPrintable interface
class Coordinate : IPrintable
{
private double x;
private double y;
public Coordinate() {
x=0.0;
y=0.0;
}
public Coordinate(double px,double py) {
x=px;
y=py;
}
public void Print() {
Console.WriteLine("({0},{1})", x, y);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -