Ejemplo n.º 1
0
 public void Sort()
 {
     _sortstrategy.sort(_list);
     foreach (char[] alpha in _list)
     {
         sortmethod n = new sortmethod();
         n.inputstring = alpha;
     }
 }
Ejemplo n.º 2
0
        public void sorting()
        {
            sortmethod sortingmethod = new sortmethod();

            char[] newtextbox1 = sortmethodview.textbox1.ToCharArray();

            sortingmethod.inputstring = newtextbox1;

            sortmethodview.textres1 = String.Join(" ", sortingmethod.SortingMethod());
        }