XmlWriter: is calling Close() required if using a using block?
Posted
by P a u l
on Stack Overflow
See other posts from Stack Overflow
or by P a u l
Published on 2010-04-14T18:04:04Z
Indexed on
2010/04/14
18:13 UTC
Read the original article
Hit count: 110
c#
Is it sufficient to create an XmlWriter with a using block (with no call to Close()) or is it better to use a try/finally block and call Close() in finally?
© Stack Overflow or respective owner