Click here to Skip to main content
15,896,417 members
Home / Discussions / C#
   

C#

 
GeneralWord automation selecting tray Pin
Master_Blaster26-May-05 3:05
Master_Blaster26-May-05 3:05 
GeneralRemoting Q. Pin
Member 199247026-May-05 1:06
Member 199247026-May-05 1:06 
GeneralRe: Remoting Q. Pin
S. Senthil Kumar26-May-05 2:59
S. Senthil Kumar26-May-05 2:59 
GeneralRe: Remoting Q. Pin
Member 199247026-May-05 4:42
Member 199247026-May-05 4:42 
GeneralImplementation in C# Pin
Diego12326-May-05 0:52
Diego12326-May-05 0:52 
GeneralRe: Implementation in C# Pin
Marc Clifton26-May-05 1:04
mvaMarc Clifton26-May-05 1:04 
GeneralRe: Implementation in C# Pin
Colin Angus Mackay26-May-05 1:49
Colin Angus Mackay26-May-05 1:49 
GeneralRe: Implementation in C# Pin
S. Senthil Kumar26-May-05 2:55
S. Senthil Kumar26-May-05 2:55 
I think it would be kinda difficult to implement true aggregation because of the garbage collected environment. I assume that aggregation implies that the aggregated entity can outlive the aggregating entity.

In Marc's example, if the GC decides to collect an instance of Airplane and the Wheel array is referenced only by that instance, then it will also be GC'ed. Unless of course, you specifically store a reference to that array somewhere else. Again, if someone else is holding on to a reference to cockpit, it won't get GC'ed along with Airplane.

In C++, you're in control of reclaiming memory, so you can accurately delete the Wheels when needed.

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: Implementation in C# Pin
Colin Angus Mackay26-May-05 3:16
Colin Angus Mackay26-May-05 3:16 
GeneralRe: Implementation in C# Pin
S. Senthil Kumar26-May-05 4:24
S. Senthil Kumar26-May-05 4:24 
GeneralWhy toolbar buttons doesn't care of CausesValidation Pin
Itanium26-May-05 0:38
Itanium26-May-05 0:38 
GeneralRe: Why toolbar buttons doesn't care of CausesValidation Pin
Luis Alonso Ramos26-May-05 5:12
Luis Alonso Ramos26-May-05 5:12 
GeneralRe: Why toolbar buttons doesn't care of CausesValidation Pin
Luis Alonso Ramos26-May-05 5:13
Luis Alonso Ramos26-May-05 5:13 
GeneralRe: Why toolbar buttons doesn't care of CausesValidation Pin
Itanium31-May-05 22:42
Itanium31-May-05 22:42 
GeneralRe: Why toolbar buttons doesn't care of CausesValidation Pin
Luis Alonso Ramos1-Jun-05 6:01
Luis Alonso Ramos1-Jun-05 6:01 
Generaldatagrid complex object binding Pin
nonick226-May-05 0:09
nonick226-May-05 0:09 
GeneralDisplay line and column on satusbar Pin
hoangsamac25-May-05 23:45
hoangsamac25-May-05 23:45 
Generalgetting the ListBox list as an array Pin
Green Fuze25-May-05 23:41
Green Fuze25-May-05 23:41 
GeneralRe: getting the ListBox list as an array Pin
pubududilena26-May-05 0:07
pubududilena26-May-05 0:07 
GeneralRe: getting the ListBox list as an array Pin
Green Fuze26-May-05 1:26
Green Fuze26-May-05 1:26 
GeneralNew starter - Common Module Q. Pin
Member 199247025-May-05 23:11
Member 199247025-May-05 23:11 
GeneralRe: New starter - Common Module Q. Pin
Itanium26-May-05 0:10
Itanium26-May-05 0:10 
GeneralRe: New starter - Common Module Q. Pin
Member 199247026-May-05 1:03
Member 199247026-May-05 1:03 
Generalget Time on Server Pin
SEAGames2225-May-05 23:00
SEAGames2225-May-05 23:00 
GeneralRe: get Time on Server Pin
pubududilena25-May-05 23:52
pubududilena25-May-05 23:52 

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.