Does Microsoft implementation of C# runtime offer some localization mechanism to translate common strings like Overflow
, Stack overflow
, Underflow
, etc...
See the code below - it's a part of Mono
and Mono
itself has a Locale.GetText
routine for making such translations.
// Added to avoid possible integer overflow.
if (inputOffset > inputBuffer.Length - inputCount)
throw new ArgumentException("inputOffset" +
Locale.GetText("Overflow");
Now - how is it done in Microsoft
version of runtime and how can I use it, for example, to get the localized equivalent of Overflow
without adding resource files?