-delegate IInterface testDelegate(concrete x);\r
-\r
-interface IInterface {\r
-}\r
-\r
-class concrete : IInterface {\r
-}\r
-\r
-class Program {\r
- private concrete getConcrete(IInterface z) {\r
- return new concrete();\r
- }\r
- \r
- public static void Main(string[] args) {\r
- Program p = new Program();\r
- testDelegate x = new testDelegate(p.getConcrete);\r
- }\r
+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);
+ }
}
\ No newline at end of file