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:

 
«April»
SunMonTueWedThuFriSat
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910