C# dynamic try cast 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);
}