tagged [class-design]
How would you code an efficient Circular Buffer in Java or C#?
How would you code an efficient Circular Buffer in Java or C#? I want a simple class that implements a fixed-size [circular buffer](https://en.wikipedia.org/wiki/Circular_buffer). It should be efficie...
- Modified
- 21 May at 15:32
What are the pros/cons of choosing between static and instance data access classes in a web app?
What are the pros/cons of choosing between static and instance data access classes in a web app? I've read several other questions on this topic ([here](https://stackoverflow.com/questions/646507/data...
- Modified
- 23 May at 11:45
Changing the Type of a inherited property (to a inherited type)
Changing the Type of a inherited property (to a inherited type) using C# I have a class which contains among other meta information the root node of a directed graph. Let's call this the . This contai...
- Modified
- 4 Nov at 10:35
class interaction design
class interaction design Lets say i have something like this coded ``` class Normal_Mode; class Fast_Mode; class File_Control; //handles all operations with reading/writing in file class Main_Control ...
- Modified
- 20 Oct at 23:34
"Public" nested classes or not
"Public" nested classes or not Suppose I have a class 'Application'. In order to be initialised it takes certain settings in the constructor. Let's also assume that the number of settings is so many t...
- Modified
- 4 Apr at 17:38
Is this bad oop design?
Is this bad oop design? I have class called Chicken and in Chicken I have some methods, so in another class where I instantiate and call methods on Chicken, I might do something like this: Is the abov...
- Modified
- 8 Apr at 15:40
How do I alias a class name in C#, without having to add a line of code to every file that uses the class?
How do I alias a class name in C#, without having to add a line of code to every file that uses the class? I want to create an alias for a class name. The following syntax would be perfect: but it won...
- Modified
- 7 Jul at 17:18
How to decide between C# static and non-static methods?
How to decide between C# static and non-static methods? [Edit] My original-question was "Why to decide between static and non-static? Both do the same..." Unfortunately it was edited to a C#-specific ...
- Modified
- 29 Apr at 09:27