// C# 2.0 Ninety Nine Bottles of Beer Example // Bradley Tetzlaff // 2005-11-23 using System; namespace NinetyNineBottlesOfBeer { /// /// An example of the 99 Bottles of Beer song in C# 2.0, /// with intentional use of new features of version 2.0. /// [CLSCompliant(true)] public static class NinetyNineBottlesOfBeerSong { /// Singing method type. /// The bottle index. /// The song verse. private delegate string SingVerseMethod(int bi); /// The pluralization method type. /// The bottle index. /// /// An "bottles" if plural, otherwise "bottle". /// private delegate string Pluralizer(int bi); ///