C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
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.7
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#