public static boolean hasConflictingAltSet(Collection<BitSet> altsets) {for (BitSet alts : altsets) {if ( alts.cardinality()>1 ) {return true;}}return false;}

public static bool HasConflictingAltSet(IEnumerable<BitSet> altsets){foreach (BitSet alts in altsets){if (alts.Cardinality() > 1){return true;}}return false;}
