C#/ Delegate does not have type parameters -


i have 2 c# files:

  1. eventdel.cs:

    public delegate void eventdel(docdevent event); 
  2. hbe.cs contains next field:

    public  eventdel<me> tocatchone {get; set; } 

it gives me next error:

delegate not have type parameters. 

how can solve it?

your delegate not appear generic, try inside hbe.cs:

public  eventdel tocatchone {get; set; } 

or inside eventdel.cs:

public delegate void eventdel<hbe>(docdevent event); 

Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -