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 -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -