Well yes,

But if you end up running it on an interned string you could upset alot of
people ;-)

Regards

Richard Blewett - DevelopMentor

> -----Original Message-----
> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> [EMAIL PROTECTED] On Behalf Of Stoyan Damov
> Sent: 21 September 2007 17:40
> To: [email protected]
> Subject: Re: [ADVANCED-DOTNET] interview test.....
>
> On 9/21/07, Mark Nicholls <[EMAIL PROTECTED]> wrote:
> > On Fri, 21 Sep 2007 16:31:17 +0100, Graeme Bradbury
> > <[EMAIL PROTECTED]> wrote:
> >
> > >1. It can't be done in place due to immutable type, and if you give
> it as
> > >array of chars then Array.Reverse(...);
> >
> > damn...as Mr Bouma pointed out....I didn't think....
> >
>
> No, he was wrong ;) you *can* in an unsafe method, using fixed (char*
> ...)
>
> Cheers,
> Stoyan
>
> ===================================
> This list is hosted by DevelopMentorR  http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to