Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- Easily sort values with the .NET Array class's Sort method
- Tony Patton recently examined the basic functionality of .NET arrays; this week, he focuses on the Array class's Sort method, which simplifies sorting the contents of an array. He also explains how you can use other .NET features to institute custom sorting. In a previous column, I discussed...
- Tags: Microsoft .NET, Middleware, Tony Patton, .NET, Microsoft development tools, .NET Newsletter, Method, Array, Class, Interface, Person, Array Class, Sort, IComparable, IComparer, Listing C, Listing E, Listing F, .NET Array Class, Application Servers, Software Development, Software/Web Development, Enterprise Software, Software, Development Tools
- Technical articles 2006-11-14
- Sort arrays easily and efficiently in .NET
- Sorting arrays is a common programming task, and the new utility interface in .NET makes it a breeze. The primary benefit of this technique is that you can decouple the sorting class from the contents of the array. To demonstrate, I’ll keep it simple and sort an array of strings...
- Tags: .NET, Microsoft development tools, Jonathan Lurie, Microsoft .NET, Array.Sort, IComparable, IComparer, Employee class
- Technical articles 2003-05-23
Additional Resources
- Easily sort values with the .NET Array class's Sort method
- In a previous column,I discussed the basic functionality of .NET arrays. This week, I expand on thistopic and focus on sorting the contents of an array. The Array class provides theSort method, and there are various ways to use this method. I begin with thesimple approach and end with custom...
- Tags: Array, Microsoft .NET, Software engineering/development, Tony Patton
- Technical articles 2006-11-14
- Learn the pros and cons of working with SortedLists in VB.NET
- If you need to maintain a collection of objects that is sorted every time an item is added or removed, consider using VB.NET's SortedLists. In this tip, Irina Medvinskaya outlines the advantages and disadvantages of using a SortedList. SortedLists come in handy when developers need to maintain a...
- Tags: Microsoft Visual Basic.Net, Irina Medvinskaya, Microsoft development tools, Programming languages, .NET, SortedList, Visual Basic Tips Newsletter, TechRepublic Inc., Object, SortedLists, SortedList System.Collections.SortedList, Development Tools, Software Development, Software/Web Development
- Technical articles 2006-09-07
- Learn the pros and cons of working with SortedLists in VB.NET
- It would be nice to know how it's implementedIt would be nice if we knew how the "array" of keys is implemented in this class (really an array, a hash-table, a linked list, a tree?) Also I hope it's not actually "sorted" after each insertion/deletion, but rather there should...
- Tags: SortedList, vb.net, performance, sort, ChuckSomerville, programming, Microsoft Visual Basic.Net
- Discussion threads 2006-09-12
- << Previous
- page 1 of 1
- Next >>