I have a struct containing a few private members and a bunch of
properties. When I try to use the structure like this
ABC item;
item.property1 = 1;
item.property2 = 2;
...
In total, the properties set will set every private variable.
Yet the compiler gives me "Use of unassigned local variable" in the
first property set.
I'm confused. Structs have a default constructor that sets the memory to
binary zeros, so the struct is defined.
Why do I get this error and what can I do about it?
Thanks,
++PLS