stack247.wordpress.com
C# Dynamic-Typed Parameter Trap
A little tricky lesson today in C#. Passing a dynamic-typed parameter to a method that has defined return type (ie: string, int, etc) will not return the defined type, instead the method will retur…