This topic has not yet been rated - Rate this topic

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
    }
}
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ