using System;
public class Program
{
public static void Main()
Coords playerCoords = new Coords(5,5);
playerCoords.Y = 7;
Console.WriteLine("X: " + playerCoords.X);
Console.WriteLine("Y: " + playerCoords.Y);
}
public struct Coords{
int x;
int y;
public Coords(int x, int y){
this.x = x;
this.y = y;
public int X{
get{
return this.x;
set{
this.x = value;
public int Y{
return this.y;
this.y = value;