Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace task4
- {
- public class Point
- {
- private int x;
- private int y;
- public Point(int x, int y)
- {
- this.x = x;
- this.y = y;
- }
- public int X
- {
- get
- {
- return x;
- }
- }
- public int Y
- {
- get
- {
- return y;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement