static void Main(string[] args) { OrdinaryHuman steve = new OrdinaryHuman(60); Console.WriteLine(steve.BreakWalls(89.4)); Console.ReadKey(); //int[] linqtest = new int[] { 2, 5, 6 }; //IEnumerable<int> result = from i in linqtest where i < 3 select i; //Console.WriteLine(result); //Console.ReadKey(); }
public static string BreakWalls(this OrdinaryHuman h, double wallDensity) { return("I broke through a wall of " + wallDensity + " density."); }