Contains doesn't have any overloads. In the case of picking upper over lower case, in this instance I chose code readability over performance.
:) --- Vince > -----Original Message----- > From: Discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED] On Behalf Of Matthew W. Adams > Sent: Wednesday, June 07, 2006 8:12 AM > To: [email protected] > Subject: Re: [ADVANCED-DOTNET] How ready is Mono? (was: Cool open source) > > You really want to be using lower case for comparison, and preferably one of the 2.0 > invariant methods: > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotne > t/html/StringsinNET20.asp > > ;-) > > M > > Matthew Adams > Director of R&D > Digital Healthcare Ltd > > -----Original Message----- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of Vince P > Sent: 07 June 2006 13:52 > To: [email protected] > Subject: Re: [ADVANCED-DOTNET] How ready is Mono? (was: Cool open > source) > > Is cool.. MS don't pay me to take offense :) > > > --- > Vince > > -----Original Message----- > > From: Discussion of advanced .NET topics. [mailto:ADVANCED- > > [EMAIL PROTECTED] On Behalf Of Phillip Holmes > > Sent: Wednesday, June 07, 2006 7:50 AM > > To: [email protected] > > Subject: Re: [ADVANCED-DOTNET] How ready is Mono? (was: Cool open > > source) > > > > BTW: Just kidding Vince. I use Microsoft products daily. > > > > -----Original Message----- > > From: Discussion of advanced .NET topics. > > [mailto:[EMAIL PROTECTED] On Behalf Of Phillip > > Holmes > > Sent: Wednesday, June 07, 2006 7:32 AM > > To: [email protected] > > Subject: Re: [ADVANCED-DOTNET] How ready is Mono? (was: Cool open > > source) > > > > public boolean isBloat() > > { > > String os = System.getProperty("os.name"); > > if ( os != null && os.startsWith(WIN_ID)) > > return true; > > else > > return false; > > > > } > > > > > > > > > > -----Original Message----- > > From: Discussion of advanced .NET topics. > > [mailto:[EMAIL PROTECTED] On Behalf Of Vince P > > Sent: Tuesday, June 06, 2006 9:02 PM > > To: [email protected] > > Subject: Re: [ADVANCED-DOTNET] How ready is Mono? (was: Cool open > > source) > > > > if (post.ToUpper().Contains("M$")) post.Ignore(); > > > > > > > > --- > > Vince > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: > > 6/2/2006 > > > > =================================== > > This list is hosted by DevelopMentorR http://www.develop.com > > > > View archives and manage your subscription(s) at > http://discuss.develop.com > > > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: > > 6/2/2006 > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: > > 6/2/2006 > > > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: > > 6/2/2006 > > > > > > =================================== > > 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(r) 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 =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
