[Mono-list] Determining if a name is a valid C# name

Bradley, Peter pbradley at uwic.ac.uk
Wed Oct 25 09:18:26 EDT 2006


Invaluable for Windows paths.  Saves all those pesky backslashes.

:)


Peter


-----Original Message-----
From: Colin JN Breame [mailto:colin at breame.net] 
Sent: 25 October 2006 12:57
To: Bradley, Peter
Cc: mono-list at lists.ximian.com
Subject: Re: [Mono-list] Determining if a name is a valid C# name

Thanks Peter - I wasn't aware of the verbatim @.

On Wednesday 25 October 2006 12:26, Bradley, Peter wrote:
> Here you go:
>
> http://www.jaggersoft.com/csharp_standard/9.4.2.htm
>
> Enjoy!
>
>
> Peter
>
> -----Original Message-----
> From: mono-list-bounces at lists.ximian.com
> [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Colin JN
Breame
> Sent: 25 October 2006 12:15
> To: mono-list at lists.ximian.com
> Subject: [Mono-list] Determining if a name is a valid C# name
>
> Hi,
>
> Can anyone tell me if there is a way of determining if a string is a
> valid C#
> name? e.g. valid for use as a namespace/class name/variable name.  Is
> there a
> method that does this in the mcs source?
>
> Thanks
> Colin
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list