Scalien.ConfigFile.GetIntValue C# (CSharp) Метод

GetIntValue() публичный Метод

public GetIntValue ( string key, int defaultValue ) : int
key string
defaultValue int
Результат int
        public int GetIntValue(string key, int defaultValue = 0)
        {
            string stringValue = GetStringValue(key, "" + defaultValue);
            return Convert.ToInt32(stringValue);
        }