Esempio n. 1
0
 private void startReverse_Click(object sender, EventArgs e)
 {
     try
     {
         ListUtility list = new ListUtility(ListUtility.StrToList <int>(inputList.Text));
         list.Process();
         resultList.Text = null;
         for (int i = 0; i < list.List.Count; i++)
         {
             resultList.Text += list.List[i].ToString() + " ";
         }
     }
     catch
     {
         resultList.Text = "Ошибка";
     }
 }