Search
Setup for Free
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
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,134
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
Boxing
C
C# / help
13mo ago
Same UpdateDatabase method for multiple types of objects
C
C# / help
4y ago
❔ Value types keep on changing??
C
C# / help
3y ago