static void Main(string[] args)
        {
            OrdinaryHuman steve = new OrdinaryHuman(185);

            Console.WriteLine(steve.BreakWalls(89.2));
            Console.ReadKey();
        }
 public static string BreakWalls(this OrdinaryHuman h, double wallDensity)
 {
     return("I broke through a wall of " + wallDensity + " density.");
 }
Exemple #3
0
 static void Main(string[] args)
 {
     OrdinaryHuman steve = new OrdinaryHuman(185);
     Console.WriteLine(steve.BreakWalls(89.2));
 }