public class UnityTool<IClass,cbClass>  where IClass, cbClass:class
{
    public static void UnityTest()
    {
        IUnityContainer container = new UnityContainer();
        container.RegisterType<IClass, cbClass>();        
    }
}
I'd like to create a common static method to implement the DI(Dependency Injection). but vs2013 told me that my grammer is wrong. how to solve it?
 
     
    