Can someone please help me learn how to read and navigate the msdn docs?
Is this not supported in .net 4.0+ ?
using System;
...
public static bool IsPositive( object Value, bool ZeroIsPositive )
{
switch ( Type.GetTypeCode( Value.GetType() ) )
{
case TypeCode.SByte:
I’m finding it very difficult to find my way through the docs and know what applies to Windows Store Apps specifically…
Type.GetTypeCode()is supported in full .NET apps and non-Store portable class libraries, but not in Windows Store apps.If you look at the
Typeclass documentation in .NET 4.5, you can see a green shopping bag next to all of the members which are supported in Windows Store apps.You can also look at the bottom of the page for each individual member. For example,
Type.GetArrayRankhas this:… whereas
Type.GetTypeCodehas:(Note the lack of a mention of Windows Store.)