what is the use of ToUpperInvariant() [Resolved]

Posted by Patel28rajendra under ASP.NET on 3/23/2012 | Points: 10 | Views : 12631 | Status : [Member] | Replies : 3
Hi

ToUpperInvariant()



what is the use of ToUpperInvariant()
what is the reason to use it ?

R D Patel


Responses

Posted by: Savariya on: 3/23/2012 [Member] Starter | Points: 50

Up
0
Down

Resolved
IT WILL CONVERT THE LETTER INTO UPPER CASE DEPENDING UPON YOUR CULTURE SETTING

ToUpper uses the current culture. ToUpperInvariant uses the invariant culture.

check below link
http://stackoverflow.com/questions/3550213/in-c-sharp-what-is-the-difference-between-toupper-and-toupperinvariant

http://msdn.microsoft.com/en-us/library/system.char.toupperinvariant.aspx

http://msdn.microsoft.com/en-us/library/system.string.toupperinvariant.aspx

Patel28rajendra, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Balajikcp8 on: 3/23/2012 [Member] Starter | Points: 25

Up
0
Down
http://stackoverflow.com/questions/3550213/in-c-sharp-what-is-the-difference-between-toupper-and-toupperinvariant

Patel28rajendra, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patel28rajendra on: 3/23/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

Thanks for Reply

R D Patel

Patel28rajendra, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response