Click here to Skip to main content
15,891,777 members

Comments by fatho1 (Top 2 by date)

fatho1 3-Jun-11 9:18am View    
Deleted
Reason for my vote of 2
Item 1 is absolutely wrong.
fatho1 3-Jun-11 9:14am View    
Deleted
At least for List<t>, AsReadOnly() returns a wrapper around the List<t> so no copying is done. I've checked this by decompiling mscorlib (v4.0). AsReadOnly() internally creates a new instance of ReadOnlyCollection which takes an IList<t> in its constructor.