Display value using the de-DE culture.Ĭonsole::WriteLine(value.ToString(CultureInfo::CreateSpecificCulture("de-DE"))) ![]() Display value using the en-GB culture.Ĭonsole::WriteLine(value.ToString(CultureInfo::CreateSpecificCulture("en-GB"))) Display value using the invariant culture.Ĭonsole::WriteLine(value.ToString(CultureInfo::InvariantCulture)) The following example displays the string representation of an Int32 value using CultureInfo objects that represent several different cultures.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |