Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- using System;
-
- namespace CIG.Translation
- {
- public class RawIntegerString : ILocalizedString
- {
- public RawIntegerString(int i)
- {
- this._int = i;
- }
-
- public override string ToString()
- {
- return "[IntegerString=" + this._int.ToString() + "]";
- }
-
- public string Translate()
- {
- return this._int.ToString("N0", Localization.CurrentCulture.Info);
- }
-
- private int _int;
- }
- }
|