Code:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GenericUse { class Gen<T,U> { public T t; public U u; public Gen(T _t, U _u) { t = _t; u = _u; } static void Main() { Gen<string, string> ao = new Gen<string, string>("Hello,", "World"); Console.WriteLine(ao.t + ao.u); } } }