Search code examples
.netnamespaceswindows-store-appswindows-8.1

Where is the Conversion Namespace in Windows Store Apps


I am trying to write my first Windows Store App and am using some code from an old project. I am developing on a Windows 8.1 Pro machine with Visual Studio 2013 Express.

I have no idea what people are calling the version of .NET I'm targeting and therefore, cannot google my questions efficiently. I don't even know what version of .NET I'm targeting. It is not like WPF where you select it.

My old code references CTypeDynamic which was in the Microsoft.VisualBasic.Conversion namespace.

Where would I find a function that does what CTypeDynamic did?


Solution

  • If I understand what CTypeDynamic does then System.Convert.ChangeType(Object, Type) looks like the equivalent and is available in the .NET for Windows Runtime apps