a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
347 B
C#
18 lines
347 B
C#
delegate IInterface testDelegate(concrete x);
|
|
|
|
interface IInterface {
|
|
}
|
|
|
|
class concrete : IInterface {
|
|
}
|
|
|
|
class Program {
|
|
private concrete getConcrete(IInterface z) {
|
|
return new concrete();
|
|
}
|
|
|
|
public static void Main(string[] args) {
|
|
Program p = new Program();
|
|
testDelegate x = new testDelegate(p.getConcrete);
|
|
}
|
|
} |