C
camainc
I'm just now migrating to the 2.0 framework, and in working with the
System.Xml namespace, it seems like almost every method or object
either takes a URI or a stream or some other object that only takes a
URI or a stream.
Why is everything a freaking stream? Almost all of the code I'm
upgrading passes around strings, which I have to turn around and
convert to streams to make work. Why couldn't MS add some overloads
that take string arguments as well?
Maybe I'm missing something obvious (wouldn't be the first time) but
having to convert all these strings to streams just seems asinine to
me.
End of rant.
System.Xml namespace, it seems like almost every method or object
either takes a URI or a stream or some other object that only takes a
URI or a stream.
Why is everything a freaking stream? Almost all of the code I'm
upgrading passes around strings, which I have to turn around and
convert to streams to make work. Why couldn't MS add some overloads
that take string arguments as well?
Maybe I'm missing something obvious (wouldn't be the first time) but
having to convert all these strings to streams just seems asinine to
me.
End of rant.