c# Delegates func<t, tresult> examples -


i new delegates , confused. have line of code in project:

    static startup()     {         usermanagerfactory = () => new usermanager<identityuser>(new userstore<identityuser>());     }      public static func<usermanager<identityuser>> usermanagerfactory { get; set; } 

can explain me might without using delegates , perhaps direct me delegates dummies guide?

this question awfully broad, i'll best answer anyway. i'm not sure why code needs delegate @ (going tiny bit gave us). actually, appear not special.

if you're looking how how use delegates, might want check out this msdn link, this , this on so.

best of luck.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -