Library tutorials & articles

99 Bottles

Introduction

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

  1. 01 Jan 1999 at 00:00

    This thread is for discussions of 99 Bottles.

Leave a comment

Sign in or Join us (it's free).

AddThis

Related discussion

Related podcasts

  • Looking into the C# Crystal Ball with Charlie Calvert and Bill Wagner

    One of the most exciting announcements from PDC was the news about C# 4.0 and Visual Studio 2010. With all the excitement and discussion throughout the event about these new developer tools, we reached out to two experts in the fields. Charlie Calvert and Bill Wagner sat down with Keith and Woody...

Events coming up

  • Dec 6

    Developing AJAX Web Applications with Castle Monorail

    London, United Kingdom

    Monorail is the model-view-controller engine of the Castle Project, bringing many of the best ideas of Ruby on Rails to the .NET world. In this talk, David De Florinier and Gojko Adzic show how Monorail makes it easy to develop .NET based AJAX applications, and how to use the Castle Project to build Web 2.0 applications effectively. Come to this session if you are a .NET web developer. Everyone is welcome!