[IronPython] C#, Types and IronPython
Keith J. Farmer
kfarmer at thuban.org
Sat Mar 10 22:23:27 CET 2007
The C# typeof(typeid) operator doesn't take a string. Instead, it takes the type identifier and returns an object representing that type. It's basically a compile-time operation.
The framework's Type.GetType methods are runtime operations that take some input (eg, a string containing the name of a type, or a variable whose type you want to know) and return the appropriate Type object.
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Michael Foord
Sent: Saturday, March 10, 2007 5:35 AM
To: Discussion of IronPython
Subject: [IronPython] C#, Types and IronPython
Despite my previous email, I still need some help. :-)
I have some C# that is getting at type objects in several different
ways, and I would like to know the difference.
and I think :
What are the differences in semantics between 'typeof(...)' and
All the best,
users mailing list
users at lists.ironpython.com
More information about the Ironpython-users