blob: 15b3864f8220444d594db3189a336adfd6134bce (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// CS1061: Type `int' does not contain a definition for `GetValueOrDefault' and no extension method `GetValueOrDefault' of type `int' could be found. Are you missing an assembly reference?
// Line: 9
class C
{
static void Main ()
{
int? i = 4;
var m = i?.GetValueOrDefault ();
}
}
|