The Active Network
ActiveMac Anonymous | Create a User | Reviews | News | Forums | Advertise  
 

  *  

  New Recommendations for Using Strings in Microsoft .NET 2.0
Time: 21:37 EST/02:37 GMT | News Source: Microsoft | Posted By: Jonathan Tigner

The Microsoft .NET Framework enables developers to create software fully ready for localization and internationalization, through comprehensive machinery under the hood designed for, among other tasks, correctly interpreting strings given the current locale. This aids in quickly creating and using solutions designed for a broad range of cultures. But, when culturally-irrelevant string data is interpreted by these methods, code can exhibit subtle bugs and operate slower than necessary on untested cultures.

When interpreting strings, the canonical example of a culturally-aware type, sometimes flipping the culture switch causes unexpected results. The same strings can sort, case, and compare differently under different Thread.CurrentCulture settings. Sometimes strings should be allowed to vary according to the user's culture (for display data), but for most strings internal to an application, such as XML tags, user names, file paths, and system objects, the interpretation should be consistent throughout all cultures. Additionally, when strings represent such symbolic information, comparison operations should be interpreted entirely non-linguistically.

When developing with the 2.0 version of the .NET Framework, keeping a few very simple recommendations in mind will suffice to solve confusion about using strings.

Write Comment
Return to News

  Displaying 301 through 302 of 302
Prev | First
  The time now is 11:09:10 AM ET.
Any comment problems? E-mail us
#301 By 4240821 (62.76.153.72) at 11/24/2024 12:31:29 AM
https://justpaste.me/Ce0g1
https://justpaste.me/BiBa2
https://justpaste.me/CNJE5
https://justpaste.me/C7uW
https://justpaste.me/CX8w
https://justpaste.me/CNfQ3
https://justpaste.me/CE1z3
https://justpaste.me/Bvcm4
https://justpaste.me/CYLr3
https://justpaste.me/CfS9

#302 By 4240821 (212.193.138.162) at 11/24/2024 7:25:12 AM
https://www.google.mv/amp/s/sexonly.su/get/a20/a20kyciocwmdvamfti.php
https://www.google.ne/amp/s/sluts.su/get/a263/a263pkegalecmcfdawr.php
https://www.google.pk/amp/s/nsfw.su/get/a163/a163kudvybzeehowvvj.php
https://www.google.mx/amp/s/nsfw.su/get/a57/a57gseideiszyldhcc.php
https://www.google.ng/amp/s/sexonly.top/get/a233/a233eqoxhvjsbatumuu.php
https://www.google.ne/amp/s/sexonly.top/get/a169/a169drnzepszploofwo.php
https://www.google.pk/amp/s/sexonly.su/get/a56/a56hcxjpjzfmnudjiy.php
https://www.google.ne/amp/s/sexonly.top/get/a188/a188zkrfglsbbfxqurf.php
https://www.google.no/amp/s/sexonly.su/get/a142/a142xcdaavxsnikyeup.php
https://www.google.pk/amp/s/lustful.su/get/a278/a278ksjydwefynplzae.php

Write Comment
Return to News
  Displaying 301 through 302 of 302
Prev | First
  The time now is 11:09:10 AM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *