Is it possible to set or override the default state for a structure?
As an example I have an
enum something{a,b,c,d,e};
and a struc
You can't. Structs always have a default constructor that sets every member to its default value (null for reference types, 0 for numeric types, false for bools, etc.) This behavior cannot be changed.
null
0
false