c# cast object to type dynamically code example
Example: dynamic convert type c#
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);
}