Thanks, I figured it out about 2 seconds after I hit send!
On Thu, Mar 6, 2008 at 10:54 AM, Srivatsn Narayanan
<[EMAIL PROTECTED]> wrote:
> You mean dict? This works:
>
> >>> from System.Collections.Generic import *
> >>> a = {'a':23, 'b':42 }
> >>> b = Dictionary[object,object](a)
> >>> b['a']
> 23
> >>> b.__class__
> <type 'Dictionary[object, object]'>
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Slide
> Sent: Thursday, March 06, 2008 9:48 AM
> To: Discussion of IronPython
> Subject: [IronPython] Converting Dict to generic Dictionary<object, object>
>
> Is it possible to convert a Dict to a Dictionary<object, object>?
>
> thanks
>
> --
> slide-o-blog
> http://slide-o-blog.blogspot.com/
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
--
slide-o-blog
http://slide-o-blog.blogspot.com/
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com