Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Windows Phone 7 support the dynamic keyword?

Silverlight 4 added support for the dynamic keyword. Does Windows Phone 7 support also support it?

I am getting compile errors and have been unable to find any source on the web which says whether it is supported one way or the other.

The compile error:

The type or namespace name 'Dynamic' does not exist in the namespace 'System' (are you missing an assembly reference?)

like image 698
James Newton-King Avatar asked Jan 03 '11 00:01

James Newton-King


1 Answers

I believe WP7 targets .NET Framework 3.5, which means no dynamic keyword. If there is an eventual firmware update they might support .NET Framework 4.0 Client Profile, but don't quote me on that!

like image 92
Matthew Abbott Avatar answered Oct 08 '22 09:10

Matthew Abbott



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!