TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Calvin Cutts
NA
49
2.3k
Why Make Static Instances of Non-Static Objects?
Feb 3 2020 4:38 AM
Hi, I'm new to programming and was wondering if someone could explain why someone would ever make a static instance of a non-static object. What purposes could that serve?
Basically I'm trying to understand the declaration of the ShoppingCartModel object at the top of this image:
Thanks
Reply
Answers (
2
)
GetValue from String textBox
Custom identity in blazor server-side application