C# .NET - call delegate generics - Asked By anbu n on 27-Jun-13 03:37 AM

public delegate void BindGtype<int>(T id);


 var PointGtypeMethod = new BindGtype<int>(BindGasTypes);
 PointGtypeMethod(;   -----------------------------------------------------> how to call here ?


i tried --  PointGtypeMethod(1) -----> it says error, can somebody guide me

SourceMethod :

  public void BindGasTypes<int>(T UserID)
    {
      try
      {
        var ds = WeldService.GetUserSelectedGasTypeDetails(UserID);

        gvGas.DataSource = ds;
        gvGas.DataBind();
      }
      catch (Exception ex)
      { }

    }