KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
C#: can you make it so that a method parameter passes an object by reference but is read-only? eg: void MyMethod(int x, int y, read-only MyObject obj) where obj is an object reference but this object cannot be modified during the method. Can this be achieved in C#?
Tags (comma-separated)
Save Edits
Cancel