Dynamically change the class of an instance at runtime?
48546
How dangerous is setting self.__class__ to something else?
12858
How do you programmatically set an attribute?
45109
Is it possible to compile and execute new code at runtime in .NET?
94694
Getting an instance name inside class __init__()
33795
Is there a call_user_func() equivalent to create a new class instance?
70195
Can I use Class.newInstance() with constructor arguments?
151031
Dynamic Object Intellisense
30080
How to call methods dynamically based on their name?
1933
How can I change an element's class with JavaScript?
99307
How can I safely (and easily) count *all* instances of a class within my program?
24894
Is there a way to instantiate objects from a string holding their class name?
21191
Instantiate a class from its textual name
94535
How do I instantiate a custom class with dependency injection?
56789
Getting the class name of an instance?
72102
How to check if a class inherits another class without instantiating it?
121806
Get Currently Executing Class/Method Name?
10447
Adding a Method to an Existing Object Instance