N
Nathan Neitzke
I am writing an app that might largely benefit from using a struct instead
of a class. However, it needs to be rich enough where there are methods
available.
My question is - every time you call a method on a struct, is it boxed?
Because that would be a huge perf hit.
I am assuming that it does have to be boxed, but if anyone knows for sure
that would be great!
of a class. However, it needs to be rich enough where there are methods
available.
My question is - every time you call a method on a struct, is it boxed?
Because that would be a huge perf hit.
I am assuming that it does have to be boxed, but if anyone knows for sure
that would be great!