Autovivification in C#

Posted by Terrance on Stack Overflow See other posts from Stack Overflow or by Terrance
Published on 2010-12-21T20:22:11Z Indexed on 2010/12/21 20:54 UTC
Read the original article Hit count: 269

Filed under:
|
|
|
|

Trying to wrap my head around perl's Autovivification and based on what it sounds like, It seems to work similar to dynamics in C# as a dynamic object is not assigned a type until runtime or, am I totally off here. If so then is there a comparable idea that I can bridge off of in C# that makes sense?

Edit
Okay so I'm apparently way off. So as second part of the 2 part question, is there anything conceptually comparable in C#?

© Stack Overflow or respective owner

Related posts about c#

Related posts about perl