Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Point : Tuple<int, int>
- {
- public Point(int x, int y) : base(x, y) {}
- public int x { get { return this.Item1; } }
- public int y { get { return this.Item2; } }
- }
- /*
- * Point p = new Point(10, 20);
- * Console.WriteLine(p.x);
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement