Click here to Skip to main content
       

C#

 
GeneralRe: Design Question PinmemberTheGermoz15-Nov-12 20:11 
AnswerRe: Design Question PinmemberRahul Rajat Singh15-Nov-12 21:43 
GeneralRe: Design Question PinmemberTheGermoz15-Nov-12 23:14 
AnswerRe: Design Question PinmemberRahul Rajat Singh15-Nov-12 23:22 
AnswerRe: Design Question PinmemberBobJanova15-Nov-12 23:12 
GeneralRe: Design Question PinmemberTheGermoz15-Nov-12 23:16 
GeneralRe: Design Question PinmemberRahul Rajat Singh15-Nov-12 23:35 
GeneralRe: Design Question PinmemberBobJanova16-Nov-12 0:09 
Since we don't know what the interfaces or the class 'A' represent we can't be sure what the contracts needed are. But as the question has two interfaces in it, it seems likely that he needs both, and publicly instantiable classes that implement each.
 
Rahul Rajat Singh wrote:
Also we can make class A as abstract to make sure no one is able to create it directly as its only purpose is to facilitate default implementation for optional functions.

I don't think that's true. The original question suggests that it is possible to construct an A which is fully functional but only supports the I1 operations, and that it's also possible to construct an A which additionally implements I2. That means you need a concrete class and a concrete subclass.
AnswerRe: Design Question PinmemberSledgeHammer0116-Nov-12 9:53 
GeneralRe: Design Question PinmemberTheGermoz16-Nov-12 10:06 
AnswerRe: Design Question PinmemberClifford Nelson16-Nov-12 9:53 
QuestionBackground worker thread PinmemberMAW3015-Nov-12 14:54 
AnswerRe: Background worker thread PinmentorDaveyM6915-Nov-12 18:51 
QuestionArray, Struct, Class??? I'm so confused.... PinmemberKKW_acd15-Nov-12 6:29 
AnswerRe: Array, Struct, Class??? I'm so confused.... [modified] PinmentorDaveyM6915-Nov-12 6:55 
GeneralRe: Array, Struct, Class??? I'm so confused.... PinmemberKKW_acd15-Nov-12 9:03 
AnswerRe: Array, Struct, Class??? I'm so confused.... PinmentorDaveyM6915-Nov-12 19:02 
GeneralRe: Array, Struct, Class??? I'm so confused.... PinmvpRichard MacCutchan16-Nov-12 0:02 
AnswerRe: Array, Struct, Class??? I'm so confused.... PinmvpRichard MacCutchan15-Nov-12 7:06 
AnswerRe: Array, Struct, Class??? I'm so confused.... PinmemberBobJanova16-Nov-12 0:16 
QuestionWind Chill Automation with C# application Pinmemberomisheikh15-Nov-12 6:03 
AnswerRe: Wind Chill Automation with C# application Pinmemberjschell15-Nov-12 8:12 
GeneralRe: Wind Chill Automation with C# application Pinmemberomisheikh16-Nov-12 3:25 
GeneralRe: Wind Chill Automation with C# application Pinmemberjschell17-Nov-12 5:40 
GeneralRe: Wind Chill Automation with C# application Pinmemberomisheikh18-Nov-12 21:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140926.1 | Last Updated 30 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid