[Python.NET] attribute semantics question
stan at phidani.be
Tue Jun 14 18:19:11 CEST 2005
It is currently possible to add new attributes using the standard python
notation, to existing C# objects.
#C is C# class
cInstance = C()
c.NewProperty = "hop" #NewProperty Property is not defined at the C# level.
1: is this the desired/expected behaviour?
2: is this usable at C# level (I should test, I suppose, using
--> I find it sometimes annoying not to know that I am defining a new
attribute, because such dynamicity is not expected at C# level (well at
thanks a lot for your help,
More information about the PythonDotNet