I have some classes in VB.Net which i'm using to serialize and deserialize from and to XML.
In the serialized result, i want the emtpy (nothing) elements not to be rendered.
I have following class:
Public Class EOL_GLTransactionLine
Public sType as String
Public sLineType as String
Public dDate as Date
Public Sub New()
When i create a new object and serialize it without setting the properties, the date object is automatically rendered and filled with date 0001-01-01T00:00:00