title: Where are the readonly/const in .NET?
body: <p>In C++ you'll see <code>void func(const T&amp; t)</code> everywhere. However, i havent seen anything similar in .NET. Why?</p>
  
  <p>I have notice a nice amount of parameters using struct. But i see no functions with readonly/const. In fact now that i tried it i couldnt use those keywords to make a function that promises to not modify a list being passed in. Is there no way to promise the caller that this function will never modify the contents of list? Is there no way to say to call code and say this list should never be modified? (I know i can clone the list or look at documentation but i like compile errors sometime)</p>