Last year, the Manchester Ultimate Programming group, had a 24 hour starcraft A.I tournament.
The idea was to program starcraft bots and battle them against each other.
This was done using visual studio (so c#) and getting the mod files from another source. It also required the original game (should be available on steam). It also came with set scenarios, so people would work their way up to bigger units (so the first round was just some basic ground units) apparently you could do a descent bot with just a few lines of code.
I will try and dig up the documentation, as I have it somewhere, if that is something that interests people?