是LinkedList的.NET中循环链表? [英] Is the LinkedList in .NET a circular linked list?
本文介绍了是LinkedList的.NET中循环链表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要一个循环链表,所以我想知道如果的LinkedList
是一个循环链表?
I need a circular linked list, so I am wondering if LinkedList
is a circular linked list?
推荐答案
没有。它是一个双向链表,但不是一个循环链表。请参见 MSDN查找有关此的细节。
No. It is a doubly linked list, but not a circular linked list. See MSDN for details on this.
LinkedList的< T>然而,让您自己的循环链表了良好的基础。但它确实有一定的第一和最后一个属性,并不会列举围绕这些,这一个适当的循环链表会。
LinkedList<T> makes a good foundation for your own circular linked list, however. But it does have a definite First and Last property, and will not enumerate around these, which a proper circular linked list will.
这篇关于是LinkedList的.NET中循环链表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文