csharp create instance from type

Code Example - csharp create instance from type

                
                        T instance = Activator.CreateInstance<T>();