12 lines
257 B
C#
12 lines
257 B
C#
|
// CS1644: Feature `null propagating operator' cannot be used because it is not part of the C# 5.0 language specification
|
||
|
// Line: 10
|
||
|
// Compiler options: -langversion:5
|
||
|
|
||
|
class C
|
||
|
{
|
||
|
static void Main ()
|
||
|
{
|
||
|
object o = null;
|
||
|
string s = o?.ToString ();
|
||
|
}
|
||
|
}
|