Overview
Examples
Sorting
static void Main(string[] args)
{
List<int> list = new List<int>();
list.Add(5);
list.Add(10);
list.Add(2);
list.Sort(IntComparison);
foreach (int i in list)
{
Console.WriteLine(i);
}
}
public static int IntComparison(int x, int y)
{
return x.CompareTo(y);
}
You May Also Like

Exam 70-536 Study Notes
My study notes for Microsoft exam 70-536: .NET types, collections, generics, I/O, serialization and more, with C# examples.

Starting Exam 70-536 Study
After a burnout, I'm putting my own project on hold to study for Microsoft exam 70-536.

Design Patterns - Proxy Pattern
The Proxy Pattern, and the last article in the design patterns series, now that I've finished reading Head First Design Patterns.




