Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var koan = new Koan();

            koan.HelloWorld();
            koan.IndicesAndRanges();
            koan.FizzBuzz();
        }
Exemplo n.º 2
0
 public static string HelloWorld(this Koan koan)
 {
     return("Hello!");
 }
Exemplo n.º 3
0
 public static string[] MethodWithVariableArguments(this Koan koan, params string[] names)
 {
     return(names);
 }
Exemplo n.º 4
0
 public static string SayHello(this Koan koan, string name)
 {
     return(String.Format("Hello, {0}!", name));
 }