3 lines
126 B
C#
3 lines
126 B
C#
var panel = typeof(t).GetConstructor(new System.Type[] { }).Invoke(new object[] { });
|
|
|
|
T data = Activator.CreateInstance<T>(); |