I have created a class say A which has some functions defined as protected. Now Class B inherits A and class C inherits B. Class A has private default constructor and protected parameterized construc
I\'m contemplating two different class designs for handling a situation where some repositories are read-only while others 开发者_高级运维are read-write. (I don\'t foresee any need for a write-only re
I\'m trying to designing a class and I\'m having issues with accessing some of the nested fields and I have some concerns with how multithread safe the whole design is.I would like to know if anyone h
To \"simulate\" instances from class diagr开发者_StackOverflow社区ams I am using USE But I find very frustating to create instances. I am looking for similar tools like this one. I really like USE, bu
Let\'s say I\'m trying to implement a Chess Game. I\'d create my Chess classes in a Chess namespace. Now, 开发者_JS百科should I prefix all my Chess related classes with the Chess word, or as they ar
I have started writing my own WebDAV server class in .NET, and the first class I\'m starting with is a WebDAVListener class, modelled after how the HttpListener class works.
I\'m creating class library with some commonly used classes like persons, addresses etc. This library will be used in an multilingual application, and I am looking for the most convenient way to repre
I have a modeled a set of objects that correspond with some real world concepts. TradeDrug, GenericDrug, TradePackage, DrugForm
I have designed the following class that should work kind of like a method (usually the user will just run Execute()):
The other day I bumped into a little problem regarding C#\'s properties. Let\'s say I have this setup: