Is it good practice to do all instantiation inside the Main() method and not in any other classes?
james6754
39
Junior Poster
Recommended Answers
Jump to PostI would do instantiation when it is needed, be it in the Main method or not.
All 3 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
james6754
39
Junior Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.