Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to: Activate or open an document in MDI application through a treeview? Pin
bouli12-Aug-05 0:20
bouli12-Aug-05 0:20 
GeneralRemoting Pin
vuthaianh11-Aug-05 1:43
vuthaianh11-Aug-05 1:43 
GeneralRe: Remoting Pin
S. Senthil Kumar11-Aug-05 8:00
S. Senthil Kumar11-Aug-05 8:00 
GeneralXML soap Problem Pin
felopater11-Aug-05 0:53
felopater11-Aug-05 0:53 
GeneralRe: XML soap Problem Pin
Guffa11-Aug-05 1:31
Guffa11-Aug-05 1:31 
GeneralRe: XML soap Problem Pin
felopater11-Aug-05 1:53
felopater11-Aug-05 1:53 
GeneralRe: XML soap Problem Pin
Guffa11-Aug-05 2:22
Guffa11-Aug-05 2:22 
GeneralMemory Allocation Pin
ChiranjibC11-Aug-05 0:31
ChiranjibC11-Aug-05 0:31 
Hi all,

I have a question.

Any value type variable is allocated on Stack and Any reference type variable is allocated on Heap. Now lets say i have a class defined as:
class Box
{
int a;
int b;
int c;

...
}

Now somewhere in the code it is written,
Box myBox = new Box();

Now obviously myBox object is created on Heap.
My Question is where the variables 'a', 'b', 'c' has been created, on Stack or on Heap???

Chiranjib
GeneralRe: Memory Allocation Pin
Guffa11-Aug-05 0:38
Guffa11-Aug-05 0:38 
GeneralRe: Memory Allocation Pin
Daniel Turini11-Aug-05 4:28
Daniel Turini11-Aug-05 4:28 
GeneralEmail Pin
alok_2k310-Aug-05 23:09
alok_2k310-Aug-05 23:09 
GeneralRe: Email Pin
MicrosoftBob11-Aug-05 3:18
MicrosoftBob11-Aug-05 3:18 
GeneralRe: Email Pin
Dave Kreskowiak11-Aug-05 6:18
mveDave Kreskowiak11-Aug-05 6:18 
GeneralRe: Email Pin
Dan Neely11-Aug-05 7:12
Dan Neely11-Aug-05 7:12 
GeneralRe: Email Pin
Dave Kreskowiak11-Aug-05 12:01
mveDave Kreskowiak11-Aug-05 12:01 
GeneralRe: Email Pin
Mohamad Al Husseiny11-Aug-05 4:26
Mohamad Al Husseiny11-Aug-05 4:26 
GeneralRe: Email Pin
Dave Kreskowiak11-Aug-05 6:22
mveDave Kreskowiak11-Aug-05 6:22 
GeneralAdding a panel Pin
Anonymous10-Aug-05 22:48
Anonymous10-Aug-05 22:48 
GeneralRe: Adding a panel Pin
Alomgir Miah11-Aug-05 3:52
Alomgir Miah11-Aug-05 3:52 
QuestionEditable Listview? Pin
Greeky10-Aug-05 22:41
Greeky10-Aug-05 22:41 
AnswerRe: Editable Listview? Pin
Alomgir Miah11-Aug-05 3:54
Alomgir Miah11-Aug-05 3:54 
GeneralRe: Editable Listview? Pin
Greeky11-Aug-05 3:57
Greeky11-Aug-05 3:57 
GeneralRe: Editable Listview? Pin
Alomgir Miah11-Aug-05 4:15
Alomgir Miah11-Aug-05 4:15 
GeneralRe: Editable Listview? Pin
Greeky11-Aug-05 4:19
Greeky11-Aug-05 4:19 
GeneralRe: Editable Listview? Pin
Alomgir Miah11-Aug-05 5:16
Alomgir Miah11-Aug-05 5:16 

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.