Possible Duplicate:
When to Use Static Classes in C#
I understand the concept of a static classes and static class members but I’m sure I could be using them a lot more on my projects. Could someone show me some practical examples of when they have created and used static classes in C#?
Thanks
Any time you need to represent a process in your design, as opposed to an entity, or a value, you should use a static class. A Process is an object, or a thing, within a design, that has no state, but manipulates or manages the state of other objects. It will have static methods that touch no private or public state variables of the class itself, but only operate on the public properties of the objects passed to these methods.
Some examples might include a class that performs the scheduling function for an academic institition,
or a class that is responsible for processing frieght and shipping containers at a port of entry for loading onto ships or aircraft.