• + 1 comment
    Console.WriteLine(((Array.FindAll(a, x => x <= 0)).Length >= k ? "NO" : "YES"));
    

    Basically the same, predicates vs LINQ