Я пытаюсь получить все имя файла в «ScheduleFolder» и поместить его в список.Как мне это сделать?Как сделать так, чтобы оно отображалось в scheduleListBox?
IsolatedStorageFile myStore = IsolatedStorageFile.GetUserStoreForApplication();
string[] fileNames = myStore.GetFileNames("./ScheduleFolder/*.*");
foreach (string name1 in fileNames)
{
yo = fileNames[0];
}
scheduleListBox.Items.Add(yo);
textBlock1.Text = yo;