<p>I am trying to do something like this</p>

<pre><code>public void GetData(ref Dictionary&lt;T,V&gt; dataDictionary)
{


}
</code></pre>

<p>Where T can be GUID, string, or int and V is custom user or item object.</p>

Does this help?  Any additional info would be helpful.
```
```
public void GetData<T, V>(ref Dictionary<T, V> dataDictionary) {
    if (typeof(T) == typeof(string) || typeof(T) == typeof(int) || typeof(T) == typeof(Guid)) {
       ...
    } else {
        throw new ArgumentException();
    }
}
```
```