Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
AnswerRe: Digital Signature in PDF using USB Token (C#) Pin
Eddy Vluggen14-Aug-13 6:06
professionalEddy Vluggen14-Aug-13 6:06 
GeneralRe: Digital Signature in PDF using USB Token (C#) Pin
dsshiny15-Aug-13 23:04
dsshiny15-Aug-13 23:04 
QuestionLooping between different functions Pin
spin_108513-Aug-13 13:00
professionalspin_108513-Aug-13 13:00 
AnswerRe: Looping between different functions Pin
BillWoodruff13-Aug-13 14:48
professionalBillWoodruff13-Aug-13 14:48 
AnswerRe: Looping between different functions Pin
CodeBlack15-Aug-13 22:55
professionalCodeBlack15-Aug-13 22:55 
QuestionAttach file to the webform textbox Pin
thadayu13-Aug-13 8:07
thadayu13-Aug-13 8:07 
AnswerRe: Attach file to the webform textbox Pin
CodeBlack14-Aug-13 3:13
professionalCodeBlack14-Aug-13 3:13 
QuestionC# Winforms GUI : Stack and Heap question Pin
DSLoginYea13-Aug-13 4:13
DSLoginYea13-Aug-13 4:13 
Does Application.Run((new Form1()); in Program.cs load on the Stack or Heap? I am asking to see if all methods inside the Form1 code are methods that go on the Stack or Heap.


Also, if I create a new Form object from Form1 - does it load on the Stack or Heap?




What about methods processed inside of new objects. Example:

public partial class Form1 : Form
{
public Form1()
{
Doofus d = new Doofus();
}
}

public class Doofus
{
Doofus()
{
createsomething();
}

void createsomething()
{
string a = "whiskey";
}
}

In this, does d's createsomething() method go on the stack or the heap?

I have read several articles on this, and I have "googled it myself". I'd just like a straightforward answer if anyone knows.

Thank you

modified 13-Aug-13 11:06am.

AnswerRe: C# Winforms GUI : Stack and Heap question Pin
Richard MacCutchan13-Aug-13 5:16
mveRichard MacCutchan13-Aug-13 5:16 
AnswerRe: C# Winforms GUI : Stack and Heap question Pin
Richard MacCutchan13-Aug-13 5:18
mveRichard MacCutchan13-Aug-13 5:18 
GeneralRe: C# Winforms GUI : Stack and Heap question Pin
DSLoginYea13-Aug-13 5:42
DSLoginYea13-Aug-13 5:42 
AnswerRe: C# Winforms GUI : Stack and Heap question Pin
SaqibRasheed19-Aug-13 8:46
SaqibRasheed19-Aug-13 8:46 
QuestionWindows Service starts on Win7, but not on 2003 oder 2008 Pin
markusa7013-Aug-13 3:22
markusa7013-Aug-13 3:22 
AnswerRe: Windows Service starts on Win7, but not on 2003 oder 2008 Pin
Dave Kreskowiak13-Aug-13 4:05
mveDave Kreskowiak13-Aug-13 4:05 
GeneralRe: Windows Service starts on Win7, but not on 2003 oder 2008 Pin
markusa7014-Aug-13 19:09
markusa7014-Aug-13 19:09 
GeneralRe: Windows Service starts on Win7, but not on 2003 oder 2008 Pin
Dave Kreskowiak15-Aug-13 2:26
mveDave Kreskowiak15-Aug-13 2:26 
GeneralRe: Windows Service starts on Win7, but not on 2003 oder 2008 Pin
markusa7015-Aug-13 2:33
markusa7015-Aug-13 2:33 
GeneralRe: Windows Service starts on Win7, but not on 2003 oder 2008 Pin
Dave Kreskowiak15-Aug-13 4:53
mveDave Kreskowiak15-Aug-13 4:53 
GeneralRe: Windows Service starts on Win7, but not on 2003 oder 2008 Pin
markusa7015-Aug-13 19:31
markusa7015-Aug-13 19:31 
GeneralRe: Windows Service starts on Win7, but not on 2003 oder 2008 Pin
Dave Kreskowiak15-Aug-13 20:54
mveDave Kreskowiak15-Aug-13 20:54 
AnswerRe: Windows Service starts on Win7, but not on 2003 oder 2008 Pin
Freak3014-Aug-13 4:00
Freak3014-Aug-13 4:00 
GeneralRe: Windows Service starts on Win7, but not on 2003 oder 2008 Pin
markusa7014-Aug-13 19:10
markusa7014-Aug-13 19:10 
AnswerRe: Windows Service starts on Win7, but not on 2003 oder 2008 Pin
Septimus Hedgehog16-Aug-13 9:55
Septimus Hedgehog16-Aug-13 9:55 
AnswerRe: Windows Service starts on Win7, but not on 2003 oder 2008 Pin
markusa707-Oct-13 22:17
markusa707-Oct-13 22:17 
QuestionClipboard paste formated text in Word Pin
juliogyn12-Aug-13 15:36
juliogyn12-Aug-13 15:36 

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.