© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
23 replies
Gaandalf

❔ Culture based Type Conversions

Hello,

There is a problem in my wpf app, while convertring types using Convert class we have to define IFormatProvider at every method, is there a way to set CultureInfo to CultureInfo.InvariantCulture as default, there is too much type conversions in the project and it's so hard to add every conversions to this parameter.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Culture.invariant
C#CC# / help
3mo ago
Dynamic Culture WPF
C#CC# / help
17mo ago
✅ .NET Localization Culture Fallback
C#CC# / help
3y ago
❔ DateTime culture info persistense
C#CC# / help
4y ago