Namespace Badeend
Classes
- AnyReferenceExtensions
Extension methods for Any constrained to
where T : class.
- AnyValueExtensions
Extension methods for Any constrained to
where T : struct.
Structs
- Any
Anyis able to hold any value of any type (hence the name).This is similar to assigning a value to a variable of type
object. The key difference is that converting toAnydoes not cause boxing for many small struct types as they're stored inline in theAnyinstance itself. Whereas converting a struct type toobjectwill always box.