Boxing

Can someone help me understand boxing?

I'm struggling to understand why using IFoo<T> where T: struct, IFoo<T> would be an advantage over using T directly, but If I make an IFoo it gets boxed

Is there some way to prevent boxing while still using multiple types of IFoo<T>?
Was this page helpful?