Exemple #1
0
    public string RemoveFromStart()
    {
        var item = CollectionOfStrings[0];

        CollectionOfStrings.RemoveAt(0);
        Used--;
        return(item);
    }
Exemple #2
0
 public string AddToStart(string item)
 {
     CollectionOfStrings.Insert(0, item);
     Used++;
     return("0");
 }