Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: Retrieving Oracle servers but cannot get host name Pin
Antony Lyell28-Aug-08 21:56
Antony Lyell28-Aug-08 21:56 
GeneralRe: Retrieving Oracle servers but cannot get host name Pin
Wendelius29-Aug-08 7:00
mentorWendelius29-Aug-08 7:00 
QuestionInheritance and constructors Pin
Dewald28-Aug-08 4:22
Dewald28-Aug-08 4:22 
AnswerRe: Inheritance and constructors Pin
netJP12L28-Aug-08 4:35
netJP12L28-Aug-08 4:35 
GeneralRe: Inheritance and constructors Pin
Dewald29-Aug-08 3:11
Dewald29-Aug-08 3:11 
AnswerRe: Inheritance and constructors Pin
Pete O'Hanlon28-Aug-08 4:36
mvePete O'Hanlon28-Aug-08 4:36 
GeneralRe: Inheritance and constructors Pin
N a v a n e e t h28-Aug-08 5:21
N a v a n e e t h28-Aug-08 5:21 
GeneralRe: Inheritance and constructors Pin
Dewald29-Aug-08 3:26
Dewald29-Aug-08 3:26 
Thanks, but this won't exactly do what I'm looking for. I'm looking for a way to have an instantiation of ClassB cb = new ClassB(1) make a call to both constructors of ClassB as well as the default constructor of ClassA.

The way you suggest would result in an instantiation as above to only call the overloaded constructors of both classes, but not the default onstructor of ClassA.

Not to worry though. The more I think about it, the more I realise that I'm trying to use OOP in a way it's not meant to be used. I've found another way to achieve what I want anyway.

Also, I think your suggestion of an OnInit method makes better sense as well.

Thanks again.
AnswerRe: Inheritance and constructors Pin
Frank Horn28-Aug-08 4:39
Frank Horn28-Aug-08 4:39 
GeneralRe: Inheritance and constructors Pin
Dewald29-Aug-08 3:31
Dewald29-Aug-08 3:31 
AnswerRe: Inheritance and constructors Pin
laserbaronen28-Aug-08 4:42
laserbaronen28-Aug-08 4:42 
GeneralRe: Inheritance and constructors Pin
Dewald29-Aug-08 3:31
Dewald29-Aug-08 3:31 
Question[Message Deleted] Pin
hadad28-Aug-08 4:16
hadad28-Aug-08 4:16 
AnswerRe: BinnaryWriter Class Pin
led mike28-Aug-08 5:05
led mike28-Aug-08 5:05 
GeneralRe: BinnaryWriter Class Pin
Mark Salsbery28-Aug-08 6:29
Mark Salsbery28-Aug-08 6:29 
GeneralRe: BinnaryWriter Class Pin
led mike28-Aug-08 6:42
led mike28-Aug-08 6:42 
GeneralRe: BinnaryWriter Class Pin
lisan_al_ghaib28-Aug-08 22:10
lisan_al_ghaib28-Aug-08 22:10 
GeneralRe: BinnaryWriter Class Pin
Mark Salsbery29-Aug-08 5:18
Mark Salsbery29-Aug-08 5:18 
JokeRe: BinnaryWriter Class Pin
lisan_al_ghaib29-Aug-08 5:22
lisan_al_ghaib29-Aug-08 5:22 
GeneralRe: BinnaryWriter Class Pin
Pete O'Hanlon28-Aug-08 8:13
mvePete O'Hanlon28-Aug-08 8:13 
GeneralRe: BinnaryWriter Class Pin
led mike28-Aug-08 8:16
led mike28-Aug-08 8:16 
GeneralRe: BinnaryWriter Class Pin
Pete O'Hanlon28-Aug-08 8:42
mvePete O'Hanlon28-Aug-08 8:42 
GeneralRe: BinnaryWriter Class Pin
led mike28-Aug-08 8:52
led mike28-Aug-08 8:52 
Questioncopy and paste Pin
netJP12L28-Aug-08 4:16
netJP12L28-Aug-08 4:16 
QuestionReading more than column in a text file Pin
ianhunt0128-Aug-08 3:57
ianhunt0128-Aug-08 3:57 

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

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