public static void Main() { SKoordinate s = new SKoordinate(800, 600); CKoordinate c = new CKoordinate(1024, 768); PromijeniXYs(s); PromijeniXYc(c); Console.WriteLine(s.XCoord + ", " + s.YCoord); Console.WriteLine(c.XCoord + ", " + c.YCoord); }
public static void PromijeniXYc(CKoordinate cTmp) { cTmp.XCoord = 100; cTmp.YCoord = 200; }