.net - Immutable struct with collection -


I am creating an irreversible structure in .Net that has a collection of a different irreversible structure (I have full control over the whole design )

I can make a reference to an readOnlyCollection

What is the best way to do this? / code> Is there any other option that has internal structure?

readline calling is the only way.

Depending on what you need to do with the archive, you can also expose it as IEnumerable instead.


Comments

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -