Implementing IXmlSerializable in readonly structs

1 · Jon Skeet · March 2, 2018, 4:24 p.m.
Background There are three things you need to know to start with: Operations on read-only variables which are value types copy the variable value first. I’ve written about this before on this blog. C# 7.2 addresses this by introducing the readonly modifier for structs. See the language proposal for more details. I was touched to … Continue reading Implementing IXmlSerializable in readonly structs →...