Sort List

Sort A List MyListName->Sort(); Sort A List Of Custom Classes You need to add a CompareTo method to the class which will be used when Sort is called.  It needs to be virtual for C++/CLI and you also need to add :IComparable to the class definition. Example For An Int Value (Uses a '.' for the […]

Read More

.Using List

Unlike arrays, the List collection type resizes dynamically.  If you are working with data where you would need to be resizing an array a lot then use a list instead.  It is ideal for linear collections that you don't need to adjust using an index. Good resources http://www.dotnetperls.com/list You need this namespace using namespace System::Collections::Generic; […]

Read More