Windows Phone 7 是否支持 dynamic 关键字? [英] Does Windows Phone 7 support the dynamic keyword?

查看:22
本文介绍了Windows Phone 7 是否支持 dynamic 关键字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Silverlight 4 添加了对 dynamic 关键字的支持.Windows Phone 7 是否支持也支持?

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.

编译错误:

命名空间System"中不存在类型或命名空间名称Dynamic"(您是否缺少程序集引用?)

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

推荐答案

我相信 WP7 的目标是 .NET Framework 3.5,这意味着没有动态关键字.如果有最终的固件更新,他们可能会支持 .NET Framework 4.0 Client Profile,但不要引用我的话!

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!

这篇关于Windows Phone 7 是否支持 dynamic 关键字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆