12 lines
208 B
C#
12 lines
208 B
C#
|
// CS0266: Cannot implicitly convert type `bool?' to `bool'. An explicit conversion exists (are you missing a cast?)
|
||
|
// Line: 9
|
||
|
|
||
|
class X
|
||
|
{
|
||
|
static void Main ()
|
||
|
{
|
||
|
bool? a = true;
|
||
|
int? b = a ? 3 : 4;
|
||
|
}
|
||
|
}
|