Add AnonymousObjectConstruction.cs
This commit is contained in:
3
AnonymousObjectConstruction.cs
Normal file
3
AnonymousObjectConstruction.cs
Normal file
@@ -0,0 +1,3 @@
|
||||
var panel = typeof(t).GetConstructor(new System.Type[] { }).Invoke(new object[] { });
|
||||
|
||||
T data = Activator.CreateInstance<T>();
|
||||
Reference in New Issue
Block a user