title: What's the best way of creating a readonly array in C#?
body: <p>I've got the extremely unlikely and original situation of wanting to return a readonly array from my property. So far I'm only aware of one way of doing it - through the <code>System.Collections.ObjectModel.ReadOnlyCollection&lt;T&gt;</code>. But that seems somehow awkward to me, <s>not to mention that this class loses the ability to access array elements by their index</s> (<strong>added: whoops, I missed the indexer</strong>). Is there no better way? Something that could make the array itself immutable?</p>