a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
235 B
C#
17 lines
235 B
C#
// CS0039: Cannot convert type `decimal' to `string' via a built-in conversion
|
|
// Line: 8
|
|
class A {
|
|
public static void Main ()
|
|
{
|
|
decimal tryDec;
|
|
tryDec = 1234.2345M;
|
|
|
|
object a = tryDec as string;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|