Export (0) Print
Expand All
Expand Minimize

Compiler Error CS1013

Invalid number

The compiler detected a malformed number. For more information on integral types, see the Integral Types Table (C# Reference).

The following sample generates CS1013:

// CS1013.cs
class Sample
{
    static void Main()
    {
        int i = 0x;   // CS1013
    }
}

Community Additions

ADD
Show:
© 2014 Microsoft