Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# create instance from type

T instance = Activator.CreateInstance<T>();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #instance #type
ADD COMMENT
Topic
Name
4+2 =