Exemple #1
0
 //Find index for current stand
 private int FindIndex(Stand stand)
 {
     for (int i = 0; i < countOfStands; i++)
     {
         if (stand == stands[i])
         {
             return(i);
         }
     }
     return(-1);
 }
Exemple #2
0
 public void Start(Stand stand)
 {
     this.stand = stand;
     Task.Run(() => Work());
 }