public int Get(List <Data> Datas, Key key) { List <Key> list = new Get_Keys_Datas().Get(Datas); for (int index = 0; index < list.Count; index++) { if (list[index].EqualCheck(key)) { return(index); } } return(0); }
public List <int> Get(List <Data> Datas) { List <Key> keys = new Get_Keys_Datas().Get(Datas); return(new KeysConverter().ToInts(keys)); }