2
votes
Accepted
Best Way to name derived classes when extending its functionality C#
It sounds very much like you should just be fixing the bug in the original class, not creating a new one. Open-closed does not mean that you never fix bugs in the original class, it just means that it ...
2
votes
Multi type HTML dropdown conversion to the corresponding C# object type
Create an expression map
The idea here is that the parser be able to generate an object that matches the type of filter/view that the user wants to see, and that object can then be passed on to an ...
1
vote
Multi type HTML dropdown conversion to the corresponding C# object type
These "view types" are just data bags. The type describes what is in the bag. They don't share any functionality, because there is none. There isn't an interface to inherit. And there aren't ...
1
vote
Multi type HTML dropdown conversion to the corresponding C# object type
So there is a fundamental problem in that overloaded methods only work within the OOP framework of the programming language you are using, any serialisation wont pick that up by magic, you need to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
c# × 4785.net × 634
design-patterns × 523
design × 434
object-oriented × 348
architecture × 260
domain-driven-design × 232
asp.net × 200
unit-testing × 178
object-oriented-design × 175
java × 172
asp.net-mvc × 167
entity-framework × 162
interfaces × 144
dependency-injection × 142
wpf × 136
database × 102
mvvm × 101
c++ × 95
multithreading × 86
asp.net-core × 86
programming-practices × 85
exceptions × 83
sql × 82
inheritance × 79