9 lines
187 B
C#
Raw Normal View History

// CS0664: Literal of type double cannot be implicitly converted to type `float'. Add suffix `f' to create a literal of this type
// Line: 6
class X {
void A ()
{
float f = 2.0;
}
}