c sharp cast object to dynamic type code example
Example: c# cast to type dynamically
public static dynamic Convert(dynamic source, Type dest) {
return Convert.ChangeType(source, dest);
}
public static dynamic Convert(dynamic source, Type dest) {
return Convert.ChangeType(source, dest);
}