C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Difference between ToUpper() and ToUpperInvariant() in C#
WhatsApp
Rajesh Rai
Jun 23
2015
17.3
k
0
0
ToUpperInvariant() :- It is culture invariant.
ToUpper() : It uses current culture.
Note: It is always safe to use ToUpperInvariant(). Becuase in different cultures upper of an alphabet is not the same.
More: https://msdn.microsoft.com/en-us/library/system.string.toupperinvariant.aspx
ASP.Net
C#
.Net
Up Next
Difference between ToUpper() and ToUpperInvariant() in C#