Q
Q. John Chen
I created a class that implements ICollection. After serializing got
following result:
<?xml version=\"1.0\" encoding=\"utf-16\">
<ArrayOfCustomer>
<Customer>
<FirstName>John</FirstName>
<LastName>Johnson</LastName>
</Customer>
<Customer>
<FirstName>Jack</FirstName>
<LastName>Jackson</LastName>
</Customer>
</ArrayOfCustomer>
I don't like the <ArrayOfCustomer> tag. I WANT it be <Customers>
Thanks
John
following result:
<?xml version=\"1.0\" encoding=\"utf-16\">
<ArrayOfCustomer>
<Customer>
<FirstName>John</FirstName>
<LastName>Johnson</LastName>
</Customer>
<Customer>
<FirstName>Jack</FirstName>
<LastName>Jackson</LastName>
</Customer>
</ArrayOfCustomer>
I don't like the <ArrayOfCustomer> tag. I WANT it be <Customers>
Thanks
John