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
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mahesh ChandPosted Jan 25, 2007, 8:34 AM
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.