An interesting and useful class which is used to store two related objects.
The Pair class does not encapsulate its object references, First and Second, in properties; it exposes them directly to all calling code as public class fields.
The Pair class can be used in several ways in page state persistence implementations. The most common use is as a container for both the ViewState and ControlState collections. In this case, the First property is used for ViewState, and the Second for ControlState.
Source URL: http://msdn2.microsoft.com/en-us/library/system.web.ui.pair.aspx