I've created this class:
class Remote
{
private static string name;
private Button[] button;
public void delRemote()
{
Remote.name = null;
}
public boolean checkAvailable()
{
return ((Remote.name) == null);
}
}
and I want to change checkAvailable so it can check a whole array after I initialize it like so:
Remote remote1[];
Is this possible without having to call checkAvailable n number of times?