 Color myColors = Color.Green | Color.Yellow | Color.Blue;


See also

Variables created for reference types are typed managed references.When the constructor is called, an object is created on the heap and a reference is assigned to the variable.When a variable of an object goes out of scope the reference is broken and when there are no references left the object gets marked as garbage.