Most mind-blowing C# hack you’ve ever seen?

Posted by sblom on Stack Overflow See other posts from Stack Overflow or by sblom
Published on 2010-04-22T00:18:05Z Indexed on 2010/04/22 0:23 UTC
Read the original article Hit count: 754

Filed under:
|
|
|

In the same spirit as the "Hidden features of X?" series, what are the most mind-blowingly well-executed "I didn't even think the language could do that!" hacks that you've ever seen in C#.

For example, a favorite of mine from a while ago is a full ray tracer implemented in a single (complex) LINQ statement.

(Note: this is a community wiki question to avoid the appearance of reputation-whoring.)

© Stack Overflow or respective owner

Related posts about c#

Related posts about hacks