tag:blogger.com,1999:blog-8412831559140848595.post7396041585449542913..comments2022-12-13T17:45:05.444+02:00Comments on Helper Code: XmlWriter that automatically close elements using IDisposableAnonymoushttp://www.blogger.com/profile/04664241287712801778noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-8412831559140848595.post-78799066080249865552014-05-28T10:01:57.046+03:002014-05-28T10:01:57.046+03:00Pretty innovative you got there with the using, an...Pretty innovative you got there with the using, and IDisposable. Looks tempting but for my implementation looks a little overkill, so I am defaulting to WriteEndElement. <br /><br />But a very good idea embracing the existing c# and .Net constructs. Thanks.renouncedthoughts.wordpressnoreply@blogger.com