9 lines
187 B
C#
9 lines
187 B
C#
|
// 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;
|
||
|
}
|
||
|
}
|