Queue<string> RemoveKeys = new Queue<string>();
foreach (string thisKey in rotatingPieces.Keys)
{
if (1)
RemoveKeys.Enqueue(thisKey.ToString());
}
while (RemoveKeys.Count > 0)
rotatingPieces.Remove(RemoveKeys.Dequeue());
my question is,when the remove is called,does it remove keys from RemoveKeys AND rotatingPieces or just RemoveKeys?