Check out example codes for "c# create default instance of type". It will help you in understanding the concepts better.

Code Example 1

public object GetDefaultValue(Type type)
{
    return type.IsValueType ? Activator.CreateInstance(type) : null;
}

Learn ReactJs, React Native from akashmittal.com