Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
What are the benefits or negatives of using static classes
John Skinner
9y
397
1
Reply
Hi,
I have been looking at static classes just lately and I use one for passing global variables around an application.
I can think of lots of places in my code where I think a static class will work as well as an instantiated class.
Could someone please tell me what are the benefits of one type over another and correct instances when one should be used over the other?
Thanks,
John
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
How to make user permissions manager on Windows form - C#
Time Convertion