blob: 1a50cb13cd02a89a70f3856cdd26c466c0bea1f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// CS0407: A method or delegate `int int.Parse(string)' return type does not match delegate `object Test.Conv(string)' return type
// Line: 17
using System;
public class Test
{
private delegate object Conv(string str);
public static void Main()
{
Conv c = new Conv(int.Parse);
}
}
|