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
- Create custom class interfaces in .NET
- Implementing the interfaces that come with .NET allows you to deploy your classes with standardized functionality that other developers expect. In my previous article, I introduced class interfaces and compared them to abstract base classes. I also described the most important .NET interfaces and created a class that implements the...
- Tags: .NET, Harold Davis, Microsoft .NET, IComparable, Dinosaur
- Technical articles 2003-01-15
Additional Resources
- Class interfaces play a key role with inheritance
- A class interface is like a kind of contract. If a class implements an interface, it means that it—and any derived classes that inherit from the initial class—must have implementations for the members whose signatures are included in the implementation specification. So if you know that a class implements an...
- Tags: .NET, Microsoft development tools, Development tools, class interface, Harold Davis
- Technical articles 2003-01-07
- 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
- Utilize .NET 2.0's powerful List class in your next project
- Working with collections of identical objects presented some problems in the .NET Framework 1.x, but version 2.0 adds new features to simplify such tasks. The addition of generics support led to inclusion of new collections like the List class. Learn more about incorporating the List class into your next project....
- Tags: Microsoft .NET, Middleware, Tony Patton, .NET, Application servers, System.Collections.Generic namespace, generic, .NET Newsletter, Class, Collection, Object, Constructor, List, C#, Software Development, Software/Web Development, Enterprise Software, Software, Programming Languages
- Technical articles 2006-05-09
- Take advantage of strongly typed collection classes in .NET
- The .NET Framework provides abstract classes you can use to create strongly typed collections for more efficient data management. We'll walk you through some code samples that show you how to better access the data layer.As readers of Builder.com know from Lamont Adams’ articles "Collective confusion: Using collections in .NET"...
- Tags: .NET, Middleware, Microsoft development tools, Databases, Daniel L. Fox, Microsoft .NET, collection class, Microsoft .NET Framework
- Technical articles 2002-10-25
- << Previous
- page 1 of 1
- Next >>
Dedicated Hosting
- If the cost of building and managing a robust technology infrastructure is prohibitive for your small or mid-sized business (SMB), managed hosting may be worth another look. For help determining whether a managed or dedicated hosting solution makes sense for your business, read this informative blog post by Josh Hoskins.
- From our sponsors