Click here to Skip to main content
15,902,018 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
Jörgen Andersson6-Feb-20 0:40
professionalJörgen Andersson6-Feb-20 0:40 
AnswerRe: Need an opinion on a circular IList<T> implementation Pin
harold aptroot5-Feb-20 23:03
harold aptroot5-Feb-20 23:03 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
honey the codewitch5-Feb-20 23:05
mvahoney the codewitch5-Feb-20 23:05 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
OriginalGriff5-Feb-20 23:19
mveOriginalGriff5-Feb-20 23:19 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
honey the codewitch5-Feb-20 23:39
mvahoney the codewitch5-Feb-20 23:39 
AnswerRe: Need an opinion on a circular IList<T> implementation Pin
Sander Rossel5-Feb-20 23:27
professionalSander Rossel5-Feb-20 23:27 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
honey the codewitch5-Feb-20 23:37
mvahoney the codewitch5-Feb-20 23:37 
AnswerRe: Need an opinion on a circular IList<T> implementation Pin
Arthur V. Ratz5-Feb-20 23:31
professionalArthur V. Ratz5-Feb-20 23:31 
I'm got an opinion. As far as I'm familiar with programming and algorithms, I think that for circular lists you still have to create your own non-generic class ICircularList<t> and implement a functionality for performing the most of circular lists operations. In this case, the using of the existing generic .NET collections is not efficient for that purpose, since it might come to be wasteful.

Here's a list of guidelines on how to implement circular lists:

Create a Circular Singly Linked List in C# – Csharp Star[^]
c# - Is the LinkedList in .NET a circular linked list? - Stack Overflow[^]
Circular Linked List | Set 1 (Introduction and Applications) - GeeksforGeeks[^]
Circular Linked list - Sorted Add Delete | C# Online Compiler | .NET Fiddle[^]
C# - Singly Linked Circular List[^]
Circular linked list – An implementation using C# | {love to code?}[^]

...

You may also google to find the answer by using the following query:
Quote:
circular linked list in c#


Cheers, Arthur. Smile | :)
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
honey the codewitch5-Feb-20 23:42
mvahoney the codewitch5-Feb-20 23:42 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
Arthur V. Ratz5-Feb-20 23:51
professionalArthur V. Ratz5-Feb-20 23:51 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
honey the codewitch5-Feb-20 23:56
mvahoney the codewitch5-Feb-20 23:56 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
Arthur V. Ratz5-Feb-20 23:59
professionalArthur V. Ratz5-Feb-20 23:59 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
honey the codewitch6-Feb-20 0:31
mvahoney the codewitch6-Feb-20 0:31 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
Arthur V. Ratz6-Feb-20 0:34
professionalArthur V. Ratz6-Feb-20 0:34 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
Arthur V. Ratz6-Feb-20 0:01
professionalArthur V. Ratz6-Feb-20 0:01 
AnswerRe: Need an opinion on a circular IList<T> implementation PinPopular
Slacker0076-Feb-20 1:16
professionalSlacker0076-Feb-20 1:16 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
Pete O'Hanlon6-Feb-20 3:20
mvePete O'Hanlon6-Feb-20 3:20 
AnswerRe: Need an opinion on a circular IList<T> implementation Pin
Greg Utas6-Feb-20 1:54
professionalGreg Utas6-Feb-20 1:54 
AnswerRe: Need an opinion on a circular IList<T> implementation Pin
Pete O'Hanlon6-Feb-20 3:21
mvePete O'Hanlon6-Feb-20 3:21 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
honey the codewitch6-Feb-20 3:28
mvahoney the codewitch6-Feb-20 3:28 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
Pete O'Hanlon6-Feb-20 3:33
mvePete O'Hanlon6-Feb-20 3:33 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
Greg Utas6-Feb-20 3:48
professionalGreg Utas6-Feb-20 3:48 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
Pete O'Hanlon6-Feb-20 5:24
mvePete O'Hanlon6-Feb-20 5:24 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
Gerry Schmitz6-Feb-20 8:06
mveGerry Schmitz6-Feb-20 8:06 
GeneralRe: Need an opinion on a circular IList<T> implementation Pin
Jörgen Andersson6-Feb-20 20:50
professionalJörgen Andersson6-Feb-20 20:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.