Gets the ISO 639-1 two-letter code for the language of the current CultureInfo.
Assembly: mscorlib (in mscorlib.dll)
For example, the two-letter abbreviation for English is "en". Theproperty value for the invariant culture is "iv".
When communicating between processes or persisting data it is usually better to use the full CultureInfo.Name. Using just the language can lose context and data.
If ISO 639-1 does not define a two-letter language code for a particular culture, theproperty returns a string that consists of three or more letters. For more information, see the example.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1