Compiler Error CS1013
Invalid number
The compiler detected a malformed number. For more information on integral types, see the Integral Types Table.
The following sample generates CS1013:
C#
// CS1013.cs
class Sample
{
static void Main()
{
int i = 0x; // CS1013
}
}
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: