Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Compiler Error CS1021 

Error Message

Integral constant is too large

A value assigned to an integral type is larger than the largest possible unsigned integer value.

The following sample generates CS1021:

// CS1021.cs
enum F : int
   a=(int)2590000000000000000000   // CS1021

public class clx
   public static void Main()
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.