This documentation is archived and is not being maintained.

Compiler Error CS1013 

Error Message

Invalid number

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

Example

The following sample generates CS1013:

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