Discussion

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?
1 points ceekays 12 years ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton