Can I safely remove the fields and properties with the suffix Specified in my C# Model classes if I am only using JSON.Net
问题 I have a C# Application. I have a class that is generated from an xsd. The class looks as below public class Transaction { public bool amountSpecified {get; set;} public double amount {get; set;} } If you notice in the class above, along with the property amount, the generator has also generated a property called amountSpecified. I know that the properties with suffix "Specified" are required for all non-nullable field/property, because this is the requirement of XML Serializer as mentioned