Labeling the visibility explicitly makes it easier to catch incorrect assumptions about who can access the variable.
Variables can be specified as being public
, internal
or private
. Explicitly define visibility for all state variables.
Labeling the visibility explicitly makes it easier to catch incorrect assumptions about who can access the variable.
Variables can be specified as being public
, internal
or private
. Explicitly define visibility for all state variables.