This documentation is archived and is not being maintained.

Compiler Error CS1013

Visual Studio 2008

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