"Peter" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I typed ..
> StringBuilder title = new StringBuilder(40)[4];
>
> VS .NET complains with "cant convert char to StringBuilder
> ", but why ??
Consider the following:
StringBuilder title = new StringBuilder(40);
char c = title[4];
Make sense? Now slide it all together, and you'll see why "new
StringBuilder(40)[4]" is a char.
--
Truth,
James Curran
[erstwhile VC++ MVP]
Home:
www.noveltheory.com Work:
www.njtheater.com
Blog:
www.honestillusion.com Day Job:
www.partsearch.com