Geeks With Blogs

Michael Freidgeim's Blog MS .Net Development

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 | 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: GeeksWithBlogs.net | Join free