Click here to Skip to main content
16,008,299 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to compile C# documentation text (tags summary, param, returns) Pin
Heath Stewart15-Dec-03 8:46
protectorHeath Stewart15-Dec-03 8:46 
AnswerRe: How to compile C# documentation text (tags summary, param, returns) Pin
David Stone15-Dec-03 8:34
sitebuilderDavid Stone15-Dec-03 8:34 
GeneralRe: How to compile C# documentation text (tags summary, param, returns) Pin
Member 26118815-Dec-03 22:12
Member 26118815-Dec-03 22:12 
GeneralSaving application options Pin
blakeb_115-Dec-03 5:54
blakeb_115-Dec-03 5:54 
GeneralRe: Saving application options Pin
Not Active15-Dec-03 6:16
mentorNot Active15-Dec-03 6:16 
GeneralRe: Saving application options Pin
Nick Parker15-Dec-03 6:30
protectorNick Parker15-Dec-03 6:30 
GeneralReference to a reference Pin
balkanese15-Dec-03 4:44
balkanese15-Dec-03 4:44 
GeneralRe: Reference to a reference Pin
Colin Angus Mackay15-Dec-03 8:27
Colin Angus Mackay15-Dec-03 8:27 
A Reference is just a fancy word for a pointer. Consider...
A a1 = new A(); // a1 points to the First Instance
A a2 = a1; // a2 points to the first instance
A a3 = a2; // a3 points to the first instance


So everything is pointing to the same instance of the class A

Now...
a2 = new A(); // Second Instance

What do you think happens? ...

a1 still points to the first instance
a2 now points to the second instance
a3 still points to the first instance

Why? Because a3 was never told to point to anything else. When a3 was created it was told to point to the first instance, not to a2 - In other words it was told to point to whatever a2 was currently pointing to. a2 is still at liberty to point to something else in the future.

Does this help clear things up?


--Colin Mackay--

"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)

Enumerators in .NET: See how to customise foreach loops with C#


GeneralRe: Reference to a reference Pin
balkanese15-Dec-03 21:07
balkanese15-Dec-03 21:07 
Generalmissing config file Pin
pallattila15-Dec-03 4:22
pallattila15-Dec-03 4:22 
GeneralRe: missing config file Pin
Heath Stewart15-Dec-03 4:29
protectorHeath Stewart15-Dec-03 4:29 
GeneralRe: missing config file Pin
Uwe Keim15-Dec-03 7:44
sitebuilderUwe Keim15-Dec-03 7:44 
GeneralCustom Panel Control Question. Pin
YetAnotherDeveloper15-Dec-03 3:58
YetAnotherDeveloper15-Dec-03 3:58 
GeneralRe: Custom Panel Control Question. Pin
Heath Stewart15-Dec-03 4:26
protectorHeath Stewart15-Dec-03 4:26 
GeneralApp monitoring Pin
Callixte.15-Dec-03 3:43
Callixte.15-Dec-03 3:43 
GeneralRe: App monitoring Pin
Nick Parker15-Dec-03 3:49
protectorNick Parker15-Dec-03 3:49 
GeneralRe: App monitoring Pin
Uwe Keim15-Dec-03 7:48
sitebuilderUwe Keim15-Dec-03 7:48 
GeneralFlags Enums Pin
Member 26118815-Dec-03 0:17
Member 26118815-Dec-03 0:17 
GeneralRe: Flags Enums Pin
Heath Stewart15-Dec-03 4:21
protectorHeath Stewart15-Dec-03 4:21 
GeneralRe: Flags Enums Pin
Member 26118815-Dec-03 10:38
Member 26118815-Dec-03 10:38 
GeneralRe: Flags Enums Pin
Eric Gunnerson (msft)15-Dec-03 11:42
Eric Gunnerson (msft)15-Dec-03 11:42 
GeneralRe: Flags Enums Pin
Member 26118815-Dec-03 20:15
Member 26118815-Dec-03 20:15 
GeneralRe: Flags Enums Pin
Eric Gunnerson (msft)16-Dec-03 6:18
Eric Gunnerson (msft)16-Dec-03 6:18 
GeneralHelp me out Pin
Member 76655314-Dec-03 22:25
Member 76655314-Dec-03 22:25 
GeneralRe: Help me out Pin
Colin Angus Mackay14-Dec-03 23:05
Colin Angus Mackay14-Dec-03 23:05 

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.