Check out example codes for "isInstanceOf nunit". It will help you in understanding the concepts better.
Code Example 1
Assert.IsInstanceOf(Type expected, object actual);
Assert.IsInstanceOf(Type expected, object actual,
string message, params object[] parms);
Assert.IsInstanceOf<T>(object actual);
Assert.IsInstanceOf<T>(object actual,
string message, params object[] parms);
Learn ReactJs, React Native from akashmittal.com