10 lines
192 B
C#
Raw Normal View History

// 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;
}
}