Short and simple: If I have an object with many values == to their default constructor values, will a serialization with a binary formatter omit them in the resulting file to save space? I’m figuring, since the value is known from the class definition anyway.
Share
I guess the answer is no, because how the serializer is supposed to know the value you assign in the constructor? It could be assigned using reflection or read from a database. If by default value you mean
default(T), then it is a different story.