public T GetLastValueAs <T> () { try { return((T)LastValue); } catch { UnuLogger.Log("Type of property has been changed, the default value will set to default value of new type!"); return(default(T)); } }