[Mono-dev] System.Web.UI/HtmlTextWriter.cs issue

Andreas Nahr ClassDevelopment at A-SoftTech.com
Sun Jan 22 20:31:21 EST 2006

Or even better - just check if the last character == ';' using the indexer.
In fact the best way would be to avoid creating the temporary string 
altogether, especially as you don't need it later on.


----- Original Message ----- 
From: "Ben Maurer" <bmaurer at ximian.com>
To: "Konstantin Triger" <kostat at mainsoft.com>
Cc: "Gonzalo Paniagua Javier" <gonzalo at ximian.com>; 
<mono-devel-list at lists.ximian.com>
Sent: Sunday, January 22, 2006 9:27 PM
Subject: RE: [Mono-dev] System.Web.UI/HtmlTextWriter.cs issue

> On Sun, 2006-01-22 at 04:17 -0800, Konstantin Triger wrote:
>> if (!onclick.Trim().EndsWith(";"))
> EndsWith is culture sensitive, so we need to make sure to use an
> invariant culture version.
> -- Ben
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

More information about the Mono-devel-list mailing list