public static bool CheckSpawned(List<int> Spawn, int id) { bool result = Spawn.Exists( delegate(int bk) { return bk == id; } ); return result; }