Can I use a “dynamic” keyword in a portable class library?

I am creating a portable class library that aims to:

  • .NET 4.5
  • Windows Store apps.
  • Windows Phone 7.5+
  • Silverlight 5

Is it safe to use the keyword "dynamic" in this library?

+4
source share
1 answer

Projects oriented to Windows Phone 7.5 cannot use “dynamic” - it lacks both types and runtime support. However, the above combination will work if you change Phone 7.5 to Phone 8

+10
source

Source: https://habr.com/ru/post/1447343/


All Articles