To remove just the last element use this:
newDeck = newDeck.Take(newDeck.Count() - 1).ToArray();
Your solution removes all Elements that are equal to the last element. For a string, this means, it removes all elements equal to A
To remove just the last element use this:
newDeck = newDeck.Take(newDeck.Count() - 1).ToArray();
Your solution removes all Elements that are equal to the last element. For a string, this means, it removes all elements equal to A