Untitled
unknown
plain_text
2 years ago
540 B
4
Indexable
public class Elemento { private int _h; private int _w; private int _x; private int _y; private Elemento[] _vet; public Elemento[] Vett { get => _vet; set => _vet = value; } public int X { get => _x; set => _x = value; } public int Y { get => _y; set => _y = value; } public Elemento(int h,int w,int x,int y,int dim) { _h = h; _w = w; X = x; Y = y; _vet = new Elemento[dim]; } }
Editor is loading...