public List <string> RefStructFind3(List <string> allStruct) { List <string> refStruct = new List <string>(); List <KeyValuePair <string, double> > refS = dMeasure.GetReferenceList(allStruct); refStruct.Add(refS[0].Key); refStruct.Add(refS[refS.Count - 1].Key); return(refStruct); }