Jon Jagger
jon@jaggersoft.com
Table of Contents
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Notes
Download
ECMA-334 C# Language Specification
13
Conversions
13.1
Implicit conversions
13.1.6
Implicit constant expression conversions
Paragraph 1
1
An implicit constant expression conversion permits the following conversions:
2
A
constant-expression
(
§14.15
) of type
int
can be converted to type
sbyte
,
byte
,
short
,
ushort
,
uint
, or
ulong
, provided the value of the
constant-expression
is within the range of the destination type.
3
A
constant-expression
of type
long
can be converted to type
ulong
, provided the value of the
constant-expression
is not negative.
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42