It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
![]() |
![]() |
|
LinkBack | Thread Tools | Display Modes | ![]() |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jul 2006
Age: 37
Posts: 5
|
Here is complete low down with many undocumented goodies:
http://forums.asp.net/1080435/ShowPost.aspx some additional little tidbits. The CultureInfo.Equals method has now been changed in v2.0. It is no longer based on LCID. The IDE does not warn of that though, since it is not depricated. So do not use LCID if you are creating a db of cultures. CultureInfo which IMO should have been a struct, but it is not, may return unexpected results when comparing instances. The == operator is not overloaded either. CultureInfo ci1=new CuiltureInfo("en-US"); CultureInfo ci2=new CuiltureInfo("en-US"); What do you expect Response.Write((ci1==ci2).ToString()); would print out? What about Response.Write(ci1.Equals(ci2).ToString()); ? So use the Equals method only. Also poor support for generics. IComparable<CultureInfo>.CompareTo and IEquatable<CultureInfo>.Equals are not implemented. So it is confined to non-generic collections code. It is not abstract, but deriving from it in practice can create a whole bunch of new issues since so many controls use CultureInfo and not the descendant TweakedCultureInfo. Regards, Javier |
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My Stuff So Far | Americ | Graphics & Multimedia | 5 | 10-26-2005 01:05 PM |
| Some New Stuff | airdragon | Graphics & Multimedia | 0 | 07-28-2005 02:48 AM |
| Some Of My Stuff | Density | Graphics & Multimedia | 8 | 07-23-2005 04:49 AM |
| My Stuff! | Verb | Graphics & Multimedia | 0 | 06-07-2005 07:12 PM |
| New Stuff | Jaderose | Graphics & Multimedia | 2 | 05-21-2005 05:11 AM |