Static class performance
Do i get the same performance gains from a static class as I would from a struct since im not using the new keyword? In other words, is a static class created on the stack like a struct? Thanks for any help
RyanOC
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Mahesh ChandRank #1 · 392.9K pointsPosted Jan 25, 2007, 3:34 AM EST
I am not 100% sure but if you just have some member variables (or properties in the class), you may be better off using struct. Static class is still a class and creates Class space in memory map table.