3 ms·
More precisely in C# a readonly field of a type can only be assigned to within that type's constructor.
by contextfree 2y ago
More precisely in C# a readonly field of a type can only be assigned to within that type's constructor.
- skrebbel 2y agoWhich means you can't have a partially instantiated object except while the constructor is running.