Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to

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 on Friday, May 13, 2011 8:26 PM .Net Framework | Back to top

Comments on this post: FromToRange template class

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Michael Freidgeim | Powered by: