Click here to Skip to main content
15,901,853 members
Home / Discussions / C#
   

C#

 
AnswerRe: which class is it calling? Pin
CPallini24-May-07 1:41
mveCPallini24-May-07 1:41 
GeneralRe: which class is it calling? Pin
jon-8024-May-07 2:59
professionaljon-8024-May-07 2:59 
GeneralRe: which class is it calling? Pin
CPallini24-May-07 3:10
mveCPallini24-May-07 3:10 
GeneralRe: which class is it calling? Pin
jon-8024-May-07 3:14
professionaljon-8024-May-07 3:14 
GeneralRe: which class is it calling? Pin
CPallini24-May-07 3:22
mveCPallini24-May-07 3:22 
GeneralRe: which class is it calling? Pin
jon-8024-May-07 3:52
professionaljon-8024-May-07 3:52 
GeneralRe: which class is it calling? Pin
CPallini24-May-07 4:13
mveCPallini24-May-07 4:13 
AnswerRe: which class is it calling? Pin
Dave Herren24-May-07 1:47
Dave Herren24-May-07 1:47 
Nevermore60Customer : GenericCustomer denotes inheritance.

Because Nevermore60Customer inherits from GenericCustomer, GenericCustomer can hold a reference to Nevermore60Customer, but only the GenericCustomer members would be accessable.

GenericCustomer customer1 = new Nevermore60Customer("Arabel Jones");
Nevermore60Customer customer2 = customer1;

In the example above both customer1 and customer2 reference the newly created Nevermore60Customer object, but customer1 only allows access to Nevermore60Customers inherited members.

There is alot more to inheritance than this though, for some good tutorials google c# inheritance[^] and you'll find better, more indepth explinations.



topcoderjax - Remember, Google is your friend.

GeneralRe: which class is it calling? Pin
jon-8024-May-07 3:03
professionaljon-8024-May-07 3:03 
GeneralRe: which class is it calling? Pin
Ian Shlasko24-May-07 4:05
Ian Shlasko24-May-07 4:05 
GeneralRe: which class is it calling? Pin
jon-8024-May-07 4:10
professionaljon-8024-May-07 4:10 
GeneralRe: which class is it calling? Pin
Colin Angus Mackay24-May-07 4:50
Colin Angus Mackay24-May-07 4:50 
GeneralRe: which class is it calling? Pin
Dave Herren24-May-07 9:22
Dave Herren24-May-07 9:22 
GeneralRe: which class is it calling? Pin
Ian Shlasko24-May-07 16:28
Ian Shlasko24-May-07 16:28 
GeneralRe: which class is it calling? Pin
Dave Herren24-May-07 4:13
Dave Herren24-May-07 4:13 
AnswerRe: which class is it calling? Pin
DavidNohejl24-May-07 1:55
DavidNohejl24-May-07 1:55 
GeneralRe: which class is it calling? Pin
jon-8024-May-07 3:01
professionaljon-8024-May-07 3:01 
GeneralRe: which class is it calling? Pin
DavidNohejl24-May-07 3:05
DavidNohejl24-May-07 3:05 
GeneralRe: which class is it calling? Pin
Blumen24-May-07 18:09
Blumen24-May-07 18:09 
GeneralOT Pin
DavidNohejl24-May-07 21:58
DavidNohejl24-May-07 21:58 
GeneralRe: OT Pin
Blumen26-May-07 19:05
Blumen26-May-07 19:05 
QuestionInformation Bubble/Balloon ??? Pin
MicealG24-May-07 1:07
MicealG24-May-07 1:07 
AnswerRe: Information Bubble/Balloon ??? Pin
JF201524-May-07 1:14
JF201524-May-07 1:14 
GeneralRe: Information Bubble/Balloon ??? Pin
MicealG24-May-07 1:20
MicealG24-May-07 1:20 
AnswerRe: Information Bubble/Balloon ??? Pin
blackjack215024-May-07 1:20
blackjack215024-May-07 1:20 

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.