I have a method that returns a value, and I want this value to be the new location of a label in a windows form application. but I\'m being told that a label\'s location is
You can only set properties of structs if you have a direct reference to that struct:
Point loc = objectA.Location; loc.X = (int)A.position; objectA.Location = loc;