private void ChooseButton_Click(object sender, RoutedEventArgs e) { srcLabel.Content += iniManager.GetIniFilePath(); string filePath = iniManager.filePath; List <string> section = OperIni.ReadSections(filePath); string[] sectionArray = section.ToArray <string>(); string test = OperIni.ReadIni(sectionArray[0], null, "wrong", filePath); for (int i = 0; i < sectionArray.Length; i++) { } testLabel.Content = test; //List<string> key = section. }