blob: 91139cbf647dfc57f29433d521d47b966aa6dde2 (
plain)
1
2
3
4
5
6
7
8
9
|
// cs0221-9.cs: Constant value `3.402823E+38' cannot be converted to a `ulong' (use `unchecked' syntax to override)
// Line: 6
class X {
static void Main () {
const float d = float.MaxValue;
ulong b = (ulong) d;
}
}
|