While looking up other things, I came across an interesting site that contained programs written in 303 different programming languages, all of which output the song "99 Bottles of Beer On the Wall." Go take a look at the list, it's actually very entertaining and educational. For those of you unfamiliar with the song, it goes as follows:
99 bottles of beer on the wall,
99 bottles of beer.
Take one down, pass it around,
98 bottles of beer on the wall.
98 bottles of beer on the wall,
98 bottles of beer.
Take one down, pass it around,
97 bottles of beer on the wall.
And so it goes until there are no more bottles of beer on the wall.
When I found the page I saw that there was a C# implementation listed, but I didn't like it. It just didn't capture the spirit of the language. So, I got to work, and wrote what I thought would be a good C# solution.
Comments