When I serialize a member with padded spaces I am losing the spaces from the end e.g. "TEXT " -> <field>TEXT</field>
I am using the following set accessor to pad the field
public String CWReference {
get { return this.cwreference; }
set { this.cwreference = value.PadRight(PaymentSetupFile.REFERENCE_LENGTH, ' '); }
}
I am using the following set accessor to pad the field
public String CWReference {
get { return this.cwreference; }
set { this.cwreference = value.PadRight(PaymentSetupFile.REFERENCE_LENGTH, ' '); }
}