Is the LinkedList in .NET a circular linked list?

.net, c#, linked-list

Solution

No. It is a doubly linked list, but not a circular linked list. See MSDN for details on this.

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.

Problem

I need a circular linked list, so I am wondering if `LinkedList` is a circular linked list?

Original source