public T Get <T>(int i) { try { return(Funcs.ToType <T>(Parsed[i + Offset])); } catch (Exception) { } return(default(T)); }
public static string Join(this string s, IEnumerable <object> o) { try { return(string.Join(s, o.Select(b => Funcs.ToType <string>(b)).ToA())); } catch (Exception) { } return(string.Join(s, o.Select(b => b.ToString()).ToA())); }
public T Get <T>() { try { return(Funcs.ToType <T>(Value)); } catch (Exception) { } if (typeof(T) == typeof(String)) { return(Funcs.ToType <T>(Value.ToString())); } throw new Exception(); }
public object Get() { try { return(Funcs.ToType <ValueType>(Value)); } catch (Exception) { } if (typeof(ValueType) == typeof(String)) { return(Value.ToString()); } throw new Exception(); }