Skip to content

Instantly share code, notes, and snippets.

@pmikstacki
Created April 18, 2018 06:46
Show Gist options
  • Save pmikstacki/0c8bfaf975c9f3be419a2d699a768fdd to your computer and use it in GitHub Desktop.
Save pmikstacki/0c8bfaf975c9f3be419a2d699a768fdd to your computer and use it in GitHub Desktop.
using System.Runtime.CompilerServices;
namespace hhh
{
public class Przyczepa
{
private int x;
private int y;
private int z;
private int ladownosc;
public int X
{
get { return x; }
set { x = value; }
}
public int Y
{
get { return y; }
set { y = value; }
}
public int Z
{
get { return z; }
set { z = value; }
}
public int Ladownosc
{
get { return ladownosc; }
set { ladownosc = value; }
}
public Przyczepa(int x, int y, int z, int ladownosc)
{
X = x;
Y = y;
Z = z;
Ladownosc = ladownosc;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment