Culture Info (why is it set in false? and what is it used for?)

3131 views c#
1

why is it set in "false"?

TextInfo textinfo = new CultureInfo("en-US", false).TextInfo;

answered question

You may find this link useful: How to Ask

Is there a specific reason you couldn't just try this code and find out yourself? It would take about 10 seconds, which is less time than it took you to come here, click the Ask Question button, and type the title

or even better - you may found that google is supper useful in this kind of questions. Look what I found for just 2.85 seconds of googling for "C# CultureInfo": click here

1 Answer

11

As the docs says:

Initializes a new instance of the CultureInfo class based on the culture specified by the culture identifier and on the Boolean that specifies whether to use the user-selected culture settings from the system

posted this

Have an answer?

JD

Please login first before posting an answer.

Ads

Categories