using System; using System.Collections.Generic; using System.Text; namespace PairMaker { public class Pair { public T first; public U second; public Pair(T t, U u) { first = t; second = u; } } class Program { static void Main(string[] args) { new Pair(5.0, "five"); } } } /* ------ Build started: Project: PairMaker, Configuration: Release Any CPU ------ C:\Windows\Microsoft.NET\Framework\v3.5.20404\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:TRACE /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\Release\PairMaker.exe /target:exe Program.cs Properties\AssemblyInfo.cs C:\Users\Fauxicles\AppData\Local\Temporary Projects\PairMaker\Program.cs(22,8): error CS0305: Using the generic type 'PairMaker.Pair' requires '2' type arguments C:\Users\Fauxicles\AppData\Local\Temporary Projects\PairMaker\Program.cs(7,15): (Related location) Compile complete -- 1 errors, 0 warnings ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ========== Error 1 Using the generic type 'PairMaker.Pair' requires '2' type arguments C:\Users\SoSoFauxicles\AppData\Local\Temporary Projects\PairMaker\Program.cs 22 8 PairMaker