Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Point {
- private double _x;
- private double _y;
- public Point(double x, double y) {
- this._x = x;
- this._y = y;
- }
- public Point() {
- this._x = 0;
- this._y = 0;
- }
- public double XPoint
- {
- get { return _x; }
- set { _x = value; }
- }
- public double YPoint
- {
- get { return _y; }
- set { _y = value; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement