Re: Generating very large string in C#
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Tue, 13 Jun 2006 22:19:05 +0100
Scott M. <s-mar@xxxxxxxxxxxxx> wrote:
Still not a good idea if the string is to be built over several steps,
rather than just one assignment. StringBuilder would be better.
Why? I don't see anything in the OP's original post to indicate that
anything beyond a large string is required. Using that constructor is
the simplest way of generating such a string, IMO. In what way would
StringBuilder be better?
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
- Follow-Ups:
- Re: Generating very large string in C#
- From: Scott M.
- Re: Generating very large string in C#
- References:
- Generating very large string in C#
- From: Dukkov
- Re: Generating very large string in C#
- From: Mattias Sjögren
- Re: Generating very large string in C#
- From: Scott M.
- Generating very large string in C#
- Prev by Date: Re: Why am I still using win32API calls?
- Next by Date: Re: How Dictionary<TKey,TValue> is checking keys?
- Previous by thread: Re: Generating very large string in C#
- Next by thread: Re: Generating very large string in C#
- Index(es):
Relevant Pages
|