Check out example codes for "c# cast to type dynamically". It will help you in understanding the concepts better.
Code Example 1
public static dynamic Convert(dynamic source, Type dest) {
return Convert.ChangeType(source, dest);
}
Learn ReactJs, React Native from akashmittal.com