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

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -