Merge pull request #1275 from ranma42/fix-lib64
[mono.git] / mcs / errors / cs0023-23.cs
1 // CS0023: The `?' operator cannot be applied to operand of type `void'
2 // Line: 10
3
4 using System;
5
6 class C
7 {
8         static void Main ()
9         {
10                 var v = Console.WriteLine ()?[0];
11         }
12 }