is it bad to use initializer block

Posted by Anon on Stack Overflow See other posts from Stack Overflow or by Anon
Published on 2010-04-04T14:34:51Z Indexed on 2010/04/04 14:43 UTC
Read the original article Hit count: 417

Filed under:
|
|
|

Hi I use initializer block in c hash

new Something { foo = 1, bar = 2 };

but people say is bad practice.

I don't think there is wrong, is it?

© Stack Overflow or respective owner

Related posts about c#

Related posts about block