Click here to Skip to main content
11,712,454 members (74,555 online)
   

C#

 
GeneralRe: Manual Coding vs Code Generation Pin
PIEBALDconsult21-Nov-12 17:51
memberPIEBALDconsult21-Nov-12 17:51 
GeneralRe: Manual Coding vs Code Generation Pin
Mycroft Holmes21-Nov-12 18:46
memberMycroft Holmes21-Nov-12 18:46 
GeneralRe: Manual Coding vs Code Generation Pin
PIEBALDconsult22-Nov-12 9:51
memberPIEBALDconsult22-Nov-12 9:51 
AnswerRe: Manual Coding vs Code Generation Pin
PIEBALDconsult21-Nov-12 4:00
memberPIEBALDconsult21-Nov-12 4:00 
QuestionDesign Question Pin
TheGermoz15-Nov-12 17:31
memberTheGermoz15-Nov-12 17:31 
AnswerRe: Design Question Pin
DaveyM6915-Nov-12 19:31
mentorDaveyM6915-Nov-12 19:31 
GeneralRe: Design Question Pin
TheGermoz15-Nov-12 20:11
memberTheGermoz15-Nov-12 20:11 
AnswerRe: Design Question Pin
Rahul Rajat Singh15-Nov-12 21:43
memberRahul Rajat Singh15-Nov-12 21:43 
GeneralRe: Design Question Pin
TheGermoz15-Nov-12 23:14
memberTheGermoz15-Nov-12 23:14 
AnswerRe: Design Question Pin
Rahul Rajat Singh15-Nov-12 23:22
memberRahul Rajat Singh15-Nov-12 23:22 
AnswerRe: Design Question Pin
BobJanova15-Nov-12 23:12
memberBobJanova15-Nov-12 23:12 
GeneralRe: Design Question Pin
TheGermoz15-Nov-12 23:16
memberTheGermoz15-Nov-12 23:16 
GeneralRe: Design Question Pin
Rahul Rajat Singh15-Nov-12 23:35
memberRahul Rajat Singh15-Nov-12 23:35 
GeneralRe: Design Question Pin
BobJanova16-Nov-12 0:09
memberBobJanova16-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 Pin
SledgeHammer0116-Nov-12 9:53
memberSledgeHammer0116-Nov-12 9:53 
GeneralRe: Design Question Pin
TheGermoz16-Nov-12 10:06
memberTheGermoz16-Nov-12 10:06 
AnswerRe: Design Question Pin
Clifford Nelson16-Nov-12 9:53
memberClifford Nelson16-Nov-12 9:53 
QuestionBackground worker thread Pin
MAW3015-Nov-12 14:54
memberMAW3015-Nov-12 14:54 
AnswerRe: Background worker thread Pin
DaveyM6915-Nov-12 18:51
mentorDaveyM6915-Nov-12 18:51 
QuestionArray, Struct, Class??? I'm so confused.... Pin
KKW_acd15-Nov-12 6:29
memberKKW_acd15-Nov-12 6:29 
AnswerRe: Array, Struct, Class??? I'm so confused.... Pin
DaveyM6915-Nov-12 6:55
mentorDaveyM6915-Nov-12 6:55 
GeneralRe: Array, Struct, Class??? I'm so confused.... Pin
KKW_acd15-Nov-12 9:03
memberKKW_acd15-Nov-12 9:03 
AnswerRe: Array, Struct, Class??? I'm so confused.... Pin
DaveyM6915-Nov-12 19:02
mentorDaveyM6915-Nov-12 19:02 
GeneralRe: Array, Struct, Class??? I'm so confused.... Pin
Richard MacCutchan16-Nov-12 0:02
mvpRichard MacCutchan16-Nov-12 0:02 
AnswerRe: Array, Struct, Class??? I'm so confused.... Pin
Richard MacCutchan15-Nov-12 7:06
mvpRichard MacCutchan15-Nov-12 7:06 
AnswerRe: Array, Struct, Class??? I'm so confused.... Pin
BobJanova16-Nov-12 0:16
memberBobJanova16-Nov-12 0:16 
QuestionWind Chill Automation with C# application Pin
omisheikh15-Nov-12 6:03
memberomisheikh15-Nov-12 6:03 
AnswerRe: Wind Chill Automation with C# application Pin
jschell15-Nov-12 8:12
memberjschell15-Nov-12 8:12 
GeneralRe: Wind Chill Automation with C# application Pin
omisheikh16-Nov-12 3:25
memberomisheikh16-Nov-12 3:25 
GeneralRe: Wind Chill Automation with C# application Pin
jschell17-Nov-12 5:40
memberjschell17-Nov-12 5:40 
GeneralRe: Wind Chill Automation with C# application Pin
omisheikh18-Nov-12 21:00
memberomisheikh18-Nov-12 21:00 
QuestionAccess mainform while subform is updating Pin
MAW3014-Nov-12 19:01
memberMAW3014-Nov-12 19:01 
AnswerRe: Access mainform while subform is updating Pin
Mycroft Holmes14-Nov-12 19:53
memberMycroft Holmes14-Nov-12 19:53 
AnswerRe: Access mainform while subform is updating Pin
DaveyM6915-Nov-12 0:02
mentorDaveyM6915-Nov-12 0:02 
QuestionGet integer variable from datalist textbox for entry into SQL Pin
Member 959997514-Nov-12 10:10
memberMember 959997514-Nov-12 10:10 
AnswerRe: Get integer variable from datalist textbox for entry into SQL Pin
rajeshkasani0514-Nov-12 18:34
memberrajeshkasani0514-Nov-12 18:34 
GeneralRe: Get integer variable from datalist textbox for entry into SQL Pin
Member 959997514-Nov-12 22:50
memberMember 959997514-Nov-12 22:50 
GeneralRe: Get integer variable from datalist textbox for entry into SQL Pin
rajeshkasani0514-Nov-12 22:55
memberrajeshkasani0514-Nov-12 22:55 
GeneralRe: Get integer variable from datalist textbox for entry into SQL Pin
Member 959997515-Nov-12 2:25
memberMember 959997515-Nov-12 2:25 
GeneralRe: Get integer variable from datalist textbox for entry into SQL Pin
Richard MacCutchan15-Nov-12 3:21
mvpRichard MacCutchan15-Nov-12 3:21 
QuestionC# clear out global cache Pin
dcof14-Nov-12 7:52
memberdcof14-Nov-12 7:52 
AnswerRe: C# clear out global cache Pin
jschell14-Nov-12 8:00
memberjschell14-Nov-12 8:00 
AnswerRe: C# clear out global cache Pin
Pete O'Hanlon14-Nov-12 11:00
protectorPete O'Hanlon14-Nov-12 11:00 
GeneralRe: C# clear out global cache Pin
cptKoala14-Nov-12 21:50
membercptKoala14-Nov-12 21:50 
GeneralRe: C# clear out global cache Pin
Pete O'Hanlon14-Nov-12 22:07
protectorPete O'Hanlon14-Nov-12 22:07 
GeneralRe: C# clear out global cache Pin
cptKoala14-Nov-12 22:12
membercptKoala14-Nov-12 22:12 
GeneralRe: C# clear out global cache Pin
Paul Conrad15-Nov-12 7:52
memberPaul Conrad15-Nov-12 7:52 
GeneralRe: C# clear out global cache Pin
Pete O'Hanlon15-Nov-12 8:39
protectorPete O'Hanlon15-Nov-12 8:39 
Questionpredefined type 'xxx' is defined in multiple assemblies in the global alias Pin
sc steinhayse14-Nov-12 5:23
membersc steinhayse14-Nov-12 5:23 
QuestionRe: predefined type 'xxx' is defined in multiple assemblies in the global alias Pin
n.podbielski14-Nov-12 6:20
membern.podbielski14-Nov-12 6:20 

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
Web03 | 2.8.150819.1 | Last Updated 1 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid