On 9/29/07, Robert Jordan <[EMAIL PROTECTED]> wrote:
> class FooDictionary<T> : Dictionary<System.Type, T>
> {
>         public void Add (T t)
>         {
>                 this [typeof(T)] = t;
>         }
> }

Isn't typeof(T) always evaluated to T itself?

-- 
Felipe.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to