Click here to Skip to main content
15,908,931 members
Home / Discussions / C#
   

C#

 
GeneralRe: classes Pin
enjoycrack12-Jul-05 22:09
enjoycrack12-Jul-05 22:09 
GeneralRe: classes Pin
sosodev12-Jul-05 23:03
sosodev12-Jul-05 23:03 
GeneralIntegrate WIndows Service and my application project Pin
ksanju100012-Jul-05 20:42
ksanju100012-Jul-05 20:42 
GeneralWindows Service in Windows XP Pin
ksanju100012-Jul-05 20:40
ksanju100012-Jul-05 20:40 
GeneralRe: Windows Service in Windows XP Pin
Dave Kreskowiak13-Jul-05 2:29
mveDave Kreskowiak13-Jul-05 2:29 
GeneralRe: Windows Service in Windows XP Pin
ksanju100013-Jul-05 4:14
ksanju100013-Jul-05 4:14 
GeneralRe: Windows Service in Windows XP Pin
Dave Kreskowiak13-Jul-05 5:06
mveDave Kreskowiak13-Jul-05 5:06 
GeneralProblem in creating objects of derived class Pin
tttyip12-Jul-05 20:28
tttyip12-Jul-05 20:28 
Hi all, I am new in C#.
I have two classes, class A and class B. Class B is inherited from class A.
When I create an object of class B, will an object of class A also be created?

In addition, if class A has a member "public string myName", after I create an object of class B, the created instance also can access myName, but what does the statement " base.myName = "HELLO" " mean? I know it assign "myName" of the base class (class A) with "HELLO", but why do we assign member of the base class if no instance of the base class created?


Regards,
Tommy
GeneralRe: Problem in creating objects of derived class Pin
S. Senthil Kumar12-Jul-05 21:15
S. Senthil Kumar12-Jul-05 21:15 
GeneralRe: Problem in creating objects of derived class Pin
tttyip13-Jul-05 16:11
tttyip13-Jul-05 16:11 
GeneralIIS Root Path location Pin
Sau Fan Lee12-Jul-05 17:28
Sau Fan Lee12-Jul-05 17:28 
GeneralRe: IIS Root Path location Pin
Expert Coming12-Jul-05 18:02
Expert Coming12-Jul-05 18:02 
GeneralMs Word Field Codes Pin
bootn12-Jul-05 17:05
bootn12-Jul-05 17:05 
GeneralRe: Ms Word Field Codes Pin
ekynox13-Jul-05 19:29
ekynox13-Jul-05 19:29 
GeneralSave as "TXT" File Pin
tatchung12-Jul-05 15:47
tatchung12-Jul-05 15:47 
GeneralRe: Save as "TXT" File Pin
Christian Graus12-Jul-05 17:28
protectorChristian Graus12-Jul-05 17:28 
GeneralRe: Save as "TXT" File Pin
tatchung12-Jul-05 17:36
tatchung12-Jul-05 17:36 
GeneralRe: Save as "TXT" File Pin
Christian Graus12-Jul-05 17:45
protectorChristian Graus12-Jul-05 17:45 
GeneralRe: Save as "TXT" File Pin
tatchung12-Jul-05 17:53
tatchung12-Jul-05 17:53 
GeneralRe: Save as "TXT" File Pin
Christian Graus12-Jul-05 17:55
protectorChristian Graus12-Jul-05 17:55 
GeneralRe: Save as "TXT" File Pin
tatchung12-Jul-05 18:03
tatchung12-Jul-05 18:03 
GeneralRe: Save as "TXT" File Pin
Christian Graus12-Jul-05 18:12
protectorChristian Graus12-Jul-05 18:12 
GeneralRe: Save as "TXT" File Pin
tatchung12-Jul-05 18:23
tatchung12-Jul-05 18:23 
GeneralRe: Save as "TXT" File Pin
Christian Graus12-Jul-05 18:27
protectorChristian Graus12-Jul-05 18:27 
GeneralRe: Save as "TXT" File Pin
tatchung12-Jul-05 18:34
tatchung12-Jul-05 18:34 

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.