Recently, I'm working on serialization with C#.
I found that the automatic-properties' fields are named "<...>k_BackingField".
So my problem is dose this naming rule same in all .Net versions, and it won't change in any situations?
k_BackingField". So my problem is dose t" /> k_BackingField". So my problem is dose t" /> k_BackingField". So my problem is dose t"/>
Recently, I'm working on serialization with C#.
I found that the automatic-properties' fields are named "<...>k_BackingField".
So my problem is dose this naming rule same in all .Net versions, and it won't change in any situations?
Copyright © 2021 Jogjafile Inc.
It's an internal implementation that may change between the different versions of the C# compiler.
The different serialization mechanisms provided by the libraries have different compatibility rules. For instance, I do not believe that binary serialization is guaranteed to work between different versions of the framework.