Queue<T> 先进先出集合。 Stack<T> 后进先出集合。 转载于:https://www.cnblogs.com/aoldman/archive/2012/12/17/2821261.html