|
Cost of accessing a casted variable vs. assigning the casted variable? (C#)
I know that in unmanaged C++, casting is at compile-time, so it's better to avoid the assignment and simply access it for all instances. However, in C#, I have no idea since I'm pretty new to it.
|