.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

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -