Indovinate cosa stampa sulla console questo codice...
using System;
using System.Collections.Generic;
using _ = System.Text.StringBuilder;
using __ = System.Console;
using ___ = System.Collections.Generic.IEnumerable<int?>;
class wtf
{static void Main(string[] a) {
_ _ = new _(
" "
);int i = 0;
foreach(int? x
in _1()){_[(int)
((x ?? i) < 0 ?
i ^ 2 % 10 : x)]
= _2()[i++];}
__.WriteLine(
_.ToString()
);
__.ReadLine();
} static char[] _2() {
return
(
"H" + "Y"
+
"E" + "N"
+
"A" + " "
+
"P" + "A"
+
"W" + " "
+
"P" + "R"
+
"E" + "Y"
).ToCharArray();
}static ___ _1(){
int?[] _ = {
0, 10, 11, 6,
1, 5,
3, /**/ 12,
8, 9,
2, 13, 7, 4
}; foreach (int? x in _)
yield
return
null
??
x;}}
Fonte: http://odetocode.com/Blogs/scott/archive/2005/12/29/2663.aspx
powered by IMHO 1.3