RoboZhando/CommandNext/Query.cs
/// <summary>
/// Gets the int, returning default if it doesnt not exist.
/// </summary>
/// <param name="key"></param>
/// <param name="default"></param>
/// <returns></returns>
Gets the int, returning default if it doesnt not exist.
Gets the int returning default if it doesnt not exist .
public int GetInt(string key, int @default)
        {
            int v;
            if (TryGetInt(key, out v)) return v;
            return @default;
        }
public int GetInt ( string key , int @default ) { int v ; if ( TryGetInt ( key , out v ) ) return v ; return @default ; }
Gets the int, returning default if it doesnt not exist.
Gets the int returning default if it doesnt not exist .
None
key
string
None
@default
int
default
None