class-design
Database Server Too Busy. Advice needed on opening DataContexts
I have this h开发者_JS百科uge system started running yesterday. Thousands of people connecting simultaneously.. I\'m Using SQL Server 2008 and .NET 3.5 (C#);[详细]
2023-03-25 11:39 分类:问答Data relationship problem
i have a problem in my class-design. Ich have 2 classes: public class A { public B[] _bs; public string _name;[详细]
2023-03-24 21:52 分类:问答Using Enums for Range Selection in OO Application
I am working on a project that has a large number of forms that users will be filling out to create a final report. A majority of these questions are multiple choice. I am struggling with the proper a[详细]
2023-03-24 14:44 分类:问答Accessing class instances from other class instances
I have 4 classes: A, B, C and D. A is really a main class, and has instances of B, C and D: class A() {[详细]
2023-03-24 05:44 分类:问答Convention of using underscores in C++ class member names
The large majority of my programming knowledge is self-taught, so I was never taught proper design patterns, conventions, and so on and so forth.[详细]
2023-03-23 09:34 分类:问答Implicit vs Explicit data structures
Lately I\'ve been struggling with some recurrent design problem which I don\'t know how to solve elegantly.[详细]
2023-03-23 08:55 分类:问答Is it ok for a construct to return something?
The case: I have a form cla开发者_运维问答ss which handles HTML forms, cleans up fields and validates.[详细]
2023-03-23 07:37 分类:问答Is this a Design issue or Eclipse's issue or Java's loophole?
Let us have the following classes defined in eclipse\'s work space: public abstract class A { public void foo() {[详细]
2023-03-23 00:11 分类:问答Declare Class Attribute Protected or Public?
I have a class say within a package com.practise.mypackageone.MyClass Class MyClass has a method /* Modifier*/ void show()[详细]
2023-03-22 22:02 分类:问答Single Responsibility Principle - Loading a list from a file?
Say I have a Car class: class Car { string GetMake() string GetModel() int GetYear() } And I have a custom CarService class that holds a list of cars:[详细]
2023-03-22 03:47 分类:问答