Home > Net >  How to dynamically generate the object of the class
How to dynamically generate the object of the class

Time:09-30

Requirements can be through local storage of data, such as name1: xiaoming, name2: xiaohong automatically in the program to realize Student xiaohong=new Student () and Student xiaoming=new Student ();
Similar to winform into control, can change its name to modify this control object name,
Thank you very much!

CodePudding user response:

dynamic
  •  Tags:  
  • C#
  • Related