What Is a “ReadOnly Queue” in .NET?
By definition, a ReadOnly modifier specifies that a variable or property can be read but not written. However, I have noted that a ReadOnly System.Collections.Generic.Queue Object can be Enqueue-d and Dequeue-d. What does the ReadOnly modifier guard against?
0 comments
[ 3.0 ms ] story [ 11.0 ms ] threadNo comments yet.