Say I have a global variable INT named X. Since X is global, we can assume that anything can modify its value so it is being changed everytime.
Say I have a Label co
Create a property for X. In setter update the label.Text property.
private int _x; public int X { get { return _x; } set { _x = value; label.Text = _x.ToString(); } }