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?
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

Daniel WilsonConnect With a Mentor Commented:
So if your XML file is coming in under a couple gigabytes ... you should be OK.
Daniel WilsonCommented:
The default capacity for this implementation is 16, and the default maximum capacity is Int32..::.MaxValue.                

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

From novice to tech pro — start learning today.