FromToRange template class

In many scenarios I found useful to store data in FromToRange template class.

It is more descriptive than generic Tuple Class

/// <summary>

/// Summary description for FromToRange.

/// </summary>

public class FromToRange<T>

{

public T From;

public T To;

/// <summary>

/// </summary>

/// <param name="from"></param>

/// <param name="to"></param>

public FromToRange(T from, T to)

{

From = from;

To = to;

}

#region Static Public methods

#endregion //Static Public methods

}//end struct FromToRange

posted @ Friday, May 13, 2011 8:26 PM
Print

Comments on this entry:

No comments posted yet.

Your comment:



(not displayed)

 
 
 
 

Live Comment Preview:

 
«March»
SunMonTueWedThuFriSat
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234