Helps to Create Custom Generic class for reusing purpose.
1. 1.Reusable
for mutiple data types.
2. 2.Reduces coding lines.
Usage:
GenericTupleOfTwo<string, int>
generic1=new GenericTupleOfTwo<string, int>();
GenericTupleOfTwo<string, DateTime>
generic2 = new GenericTupleOfTwo<string, DateTime>();
GenericTupleOfTwo<double, DateTime>
generic3 = new GenericTupleOfTwo<double, DateTime>();
Code Snippet:
/// <summary>
/// Helps to create generic class
/// </summary>

Join the conversation! Your thoughts help the community grow.