© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3mo ago•
9 replies
Jexs(ping me)

Culture.invariant

Invariant culture is only used to keep visual studios from choosing the current date and time on the computer that and THATS THE ONLY FUNCTION OF IT

Like in this example
cs
Datetime Today = DateTime.ParseExact(“6/12/1999”,”m/d/yyyy”, cultureinfo.invariantculture);
‘’’
Is there any other use ? Sorry about the displayed code I’m on iPhone idk what symbol highlights the code ! sorry for cross posting
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

Loop invariant
C#CC# / help
6mo ago
Dynamic Culture WPF
C#CC# / help
17mo ago
✅ .NET Localization Culture Fallback
C#CC# / help
3y ago
❔ Culture based Type Conversions
C#CC# / help
4y ago