10 lines
192 B
C#
10 lines
192 B
C#
|
// CS0664: Literal of type double cannot be implicitly converted to type `decimal'. Add suffix `m' to create a literal of this type
|
||
|
// Line: 7
|
||
|
|
||
|
class X {
|
||
|
void A ()
|
||
|
{
|
||
|
decimal d = 2.0;
|
||
|
}
|
||
|
}
|