Posted By

nodirt on 03/03/11


Tagged

constructor Delegate


Versions (?)

I wish I could convert a constructor to a delegate


 / Published in: C#
 

  1. class Foo {
  2. public Foo(int bar) { }
  3. }
  4.  
  5. Func<int, Foo> foo = Foo;

Report this snippet  

You need to login to post a comment.