public static AssessmentRunStringIndex[] createStringIndexArrayFromDictionary( Dictionary <String, UInt32> dNewStringIndex) { var lariAssessmentRunStringIndex = new List <AssessmentRunStringIndex>(); foreach (String sKey in dNewStringIndex.Keys) { var ariAssessmentRunStringIndex = new AssessmentRunStringIndex { value = sKey, id = dNewStringIndex[sKey] }; lariAssessmentRunStringIndex.Add(ariAssessmentRunStringIndex); } return(lariAssessmentRunStringIndex.ToArray()); }
public static AssessmentRunStringIndex[] createStringIndexArrayFromDictionary( Dictionary<String, UInt32> dNewStringIndex) { var lariAssessmentRunStringIndex = new List<AssessmentRunStringIndex>(); foreach (String sKey in dNewStringIndex.Keys) { var ariAssessmentRunStringIndex = new AssessmentRunStringIndex { value = sKey, id = dNewStringIndex[sKey] }; lariAssessmentRunStringIndex.Add(ariAssessmentRunStringIndex); } return lariAssessmentRunStringIndex.ToArray(); }