Search code examples
c#rubyprogramming-languagesclass-design

Which language can change class member dynamically in run time?


I know in Ruby can add and modify method of class dynamically in run time. what about other language? what is C# ,can in this language modify or add some method and ... in run time and dynamically?


Solution

  • I think you are looking for prototype inheritance. A list of languages is mentioned in the same wikipedia page.

    There is a similar question on SO which you can look up.