Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0039.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 494fe68f95698645eb97e51bf18f336ba273b3bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs0039.cs: as operator can not convert explicitly from type to type
// line: 8
class A {
        public static void Main ()
        {
		decimal tryDec;
		tryDec = 1234.2345M;

		object a = tryDec as string;
        }
}