Answered by:
C# Equivalent of C++ linked List

Question
-
what is the C# equivalent of C++ LinnkedList ?Sunday, August 1, 2010 1:26 PM
Answers
-
It depends. If all you need is just a list that is capable of resizing itself, then a List<T> is more than adequate. Otherwise you can use a LinkedList<T>.
HTH
--mcSunday, August 1, 2010 1:39 PM -
What class library are you using in C++? STL has a list class, as does the C++ Standard Library.
http://msdn.microsoft.com/en-us/library/802d66bt(VS.71).aspx
The .NET Framework namespace System.Collectons.Generic has a LinkedList class that should be a pretty close equivalent to whatever you are using.
http://msdn.microsoft.com/en-us/library/he2s3bh7(VS.80).aspx
Sunday, August 1, 2010 1:45 PM
All replies
-
It depends. If all you need is just a list that is capable of resizing itself, then a List<T> is more than adequate. Otherwise you can use a LinkedList<T>.
HTH
--mcSunday, August 1, 2010 1:39 PM -
What class library are you using in C++? STL has a list class, as does the C++ Standard Library.
http://msdn.microsoft.com/en-us/library/802d66bt(VS.71).aspx
The .NET Framework namespace System.Collectons.Generic has a LinkedList class that should be a pretty close equivalent to whatever you are using.
http://msdn.microsoft.com/en-us/library/he2s3bh7(VS.80).aspx
Sunday, August 1, 2010 1:45 PM