Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace NewSDLCS
  8. {
  9.    public class Vector2
  10.     {
  11.         public Vector2(int x,int y)
  12.         {
  13.             X = x;
  14.             Y = y;
  15.         }
  16.  
  17.         private int X;
  18.         private int Y;
  19.  
  20.         public int x{ get => X; set => X = value; }
  21.         public int y{ get => Y; set => Y = value; }
  22.     }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement