Michael Lam
asked on
c# custom serialization
is there a way to use a custom serializer to serialize an object into a comma delimited file, e.g. firstname, middilename, ...
ASKER
the example you mentioned doesn't go into specifics about how to serialize the object into a flat delimited string. most of the example i saw always serialize to a binary format, i.e. data.dat. thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://msdn.microsoft.com/en-us/library/ty01x675(v=vs.80).aspx
Just create a class that implements I serializable.
Then create a function Read() that returns your object using the sample above.