What are the key uses of a Static Generic Class in C#? When should they be used? What examples best illustrate their usage?
e.g.
The first blog post you mention shows a valid use (as a static repository class for an ActiveRecord implementation):
public static class Repository
{
public static T[] FindAll { }
public static T GetById(int id){ }
public static void Save(T item) { }
}
Or if you wanted to implement different sort methods for Generic arrays:
public static class ArraySort
{
public static T[] BubbleSort(T[] source) { }
public static T[] QuickSort(T[] source) { }
}