I've been looking for a way to create a temporary variable in the construction of a database manager.

```
public void Read(string name, string info, Type type){
    // blah temp = "Create temporary variable of type above"
    database.retrieve(name, info, out temp);
    Debug.Log (temp.ToString());
}

```

I tried passing Generics, but JSON doesn't like methods with Generics. I feel like I'm on the verge of figuring it out with `typeof`, but I can't seem to find the syntax.

Edit: The temporary variable contains an overriden `ToString()`, so I can't simply `out` to and `Object`.