public static T ToObject <T>(this Hashtable hashtable) where T : new() { return(DataSerializer.ConvertHashtableToObjectOfType <T>(hashtable)); }