private static int CountTrees(this char[,] map, int right, int down) { return(map.Descend(right, down).Count(x => x == '#')); }
private static int CountTrees(this char[,] map, int right, int down) { return(map.Descend(right, down).Count(x => x == '#')); }