blob: 788ea5bbdc5be9e0643c1d405e98d6b17c0caece (
plain)
1
2
3
4
5
6
7
8
9
10
|
// CS0023: The `.' operator cannot be applied to operand of type `anonymous method'
// Line: 8
using System;
class Test {
public static void Main(string[] argv) {
Console.WriteLine("Type of anonymous block: {0}",
(delegate() {}).GetType());
}
}
|