List Info

Thread: object.ToString() or TypeConverter




object.ToString() or TypeConverter
user name
2006-07-31 18:00:30
> ... and if you wanted to control your serialization
then
> implementing ISerialize is the correct approach if you
need some special
> format of serialization. As far as the special
formatting goes - maybe
> implementing IFormattable would be the solution.

I'm wondering if implementing IFormattable with a
"R" for
roundtrippable format specification (like Double uses),
could yeild a
reasonable Serialized form, be it base64ed-binary (e.g.
LosFormatter)
or XML or whatever...

Might be a nice convention to start, anyone have an opinion?

--
"You hide yourself with sanctimony, I hide myself with
narcissism."
--T-Bone Burnett

Marc C. Brooks
http://musingmarc.blog
spot.com

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )