Updated with review feedback.
[mono.git] / mcs / errors / cs0023-20.cs
1 // CS0023: The `?' operator cannot be applied to operand of type `int'
2 // Line: 11
3
4 using System;
5
6 class C
7 {
8         static void Main()
9         {
10                 int k = 0;
11                 var r = k?.ToString ();
12         }
13 }