C#C
C#4y ago
joki

❔ Does this method cause boxing of value types?

I was looking through the list<T> class and noticed that the Contains<T>(T item) method attemps to cast the 'item' to an object - '(object) item', does this not cause boxing for value types?
image.png
Was this page helpful?