Any() is an extension method in System.Linq namespace. You have to add using System.Linq; so that you can use it.
namespace Your.Namespace
{
using System;
using ... // your other usings
using System.Linq;
public sealed class YourClass
{
public void Test()
{
// ...
yourArray.Any()
}
}
}