Import jQuery

Fun with C# 3 programming

I'm a software developer. That means I get to play with upcoming, interesting technology long before you "normal people" start using it. :-)

C# is a programming language from Microsoft, the primary language I use to write computer programs. The new version (v3) is quite interesting, merging data-centric queries and functional programming into something quite fantastic.

Long story short, I've had the inkling to play with some of the new technologies. Wes Dyer blogged on how to use C# 3 to grab an image and generated an ASCII image from it. (An ASCII image is an image made entirely of letters, numbers, and symbols.) The idea is nothing new, but the way it's done using some new C# 3 techniques is interesting

So I tried it out, tweaked some of the code, and voila, I've got image->ASCII image converter built.

I grabbed a black and white image of this lovely girl:

and turned it into an ASCII image using a console program written in C# 3:

Fun stuff! Thanks to Wes for the example code.


  1. Oooooh, it's like an ultrasound (only I can actually tell what I'm looking at). ^_^

  2. ya i noticed about this as well.. cool stuff :P so you still on wt?

  3. chua - long time no see! How are things?

    No, I'm not really on WT anymore; the company killed off WD development, so there's not much left of the dev forums there, sadly.

    I've been doing contracting on a part-time commercial project that uses WT, however. They're looking to move off the WD, however, since it's basically a dead platform.

    My spare dev time has been geared towards created a WT-like engine built with XNA. I'll have to post a CP article when I've got something to show.


Appending "You might like" to each post.