ASP.Net - Can a stringbuilder hold a large amount of data such as an XML file worth?

I have a loop where I am creating an XML string and elements.  It has many records though about 60000 or so at least.  How big can I keep appending a string builder to?
sbornstein2Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Daniel WilsonConnect With a Mentor Commented:
So if your XML file is coming in under a couple gigabytes ... you should be OK.
0
 
Daniel WilsonCommented:
http://msdn.microsoft.com/en-us/library/system.text.stringbuilder.aspx
The default capacity for this implementation is 16, and the default maximum capacity is Int32..::.MaxValue.                

Int32.maxValue would be approximately 2 billion characters.
0
 
sbornstein2Author Commented:
thank you
0
All Courses

From novice to tech pro — start learning today.