I am surprised that I can\'t initialize my fields in structs, why is it like that? Like:
struct MyStruct { private int a = 90; }
but it
It's for performance. When you new up a struct with the default constructor, all it does is allocate however many bytes on the stack and initialises them to 0.