So, since my desktop got fried and will barely boot into Linux, I figured it was time to check out Visual Studio 2005 (which my dad gave me at Christmas time). Installed with no problem, other than finding the key that I was given. It then decided that it needed a number of updates, so I let it do its thing, and eventually I was greeted with this:
Nice clean, and it started up faster than eclipse or Netbeans, though it is out dated by comparison. I decided that I wanted to write a quick hello world application, so I created a C# Project (or ‘solution’ as it is referred to in some locations). And was greeted with this:
Also nice and clean, so far so good. It looks like a lot of code to write a small program though. Strange that System needs to be added via ‘using’ which I am assuming is similar to an import. Fair enough, it does it for me so I am not really that bothered by it. Now what do I type to print stuff out… hmmm… Since it is a console program, perhaps it is console (the first thing that showed up using code completion, fancy that).
It makes sense, and there is a description of it right there and everything. How convenient.
There we go, run it and woah, that was fast, no pausing on debug apparently. Should probably make it wait a second so that I can see what is going on in the console.
After looking around on the Internet a little, I found that you do that by:
So without further ado, here is a screen shot of the running program:
That wasn’t so bad, I guess I could get used to the weird redundancies of the language. Its sort of like java I guess.
If you want to run my totally awesome program, here it is:
And there is why we don’t like Microsoft, its so obtrusive… Installing VS 2005 has removed all of my previous java file associations. They are now associated with j# files… grrr…