Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about instance-variables

Read more about instance-variables

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - instance-variables

How to manage instances and class instantiations therein

Let's say I have two classes. One class User which has a lot of instances and one AccountInterface which is handling Database/File System Queries and might be accessed by every user. Lets say, User lo...
test-img

julian bechtold

c#

instance

instance-variables

Votes: 0

Answers: 2

Latest Answer

As AccountInterface is managing tasks which are not required to be bound to another class instance you could make AccountInterface a static class or implement the singleton pattern in an static contex...
test-img

Pulle

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved