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:

 
«December»
SunMonTueWedThuFriSat
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910