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
objectA.Location = new Point((int)A.position, objectA.Location.Y); objectA.Refresh();
Location is no a variable, just a public Property. Changing variables through properties is a bady idea unless you have events that update the parent.