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

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


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