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

C#

 
QuestionProblem with Visual studio.Net Pin
Vimalsoft(Pty) Ltd26-Mar-07 2:02
professionalVimalsoft(Pty) Ltd26-Mar-07 2:02 
AnswerRe: Problem with Visual studio.Net Pin
originSH26-Mar-07 2:18
originSH26-Mar-07 2:18 
QuestionDetecting Flash disk or Memeory stick?? Pin
kingbode26-Mar-07 2:01
kingbode26-Mar-07 2:01 
AnswerRe: Detecting Flash disk or Memeory stick?? Pin
Niiiissssshhhhhuuuuu26-Mar-07 3:22
Niiiissssshhhhhuuuuu26-Mar-07 3:22 
QuestionWheres my data when app.config is an Embedded Resource Pin
Christopher Stratmann26-Mar-07 1:56
Christopher Stratmann26-Mar-07 1:56 
AnswerRe: Wheres my data when app.config is an Embedded Resource Pin
Hayder Marzouk26-Mar-07 2:20
Hayder Marzouk26-Mar-07 2:20 
GeneralRe: Wheres my data when app.config is an Embedded Resource Pin
Christopher Stratmann26-Mar-07 2:25
Christopher Stratmann26-Mar-07 2:25 
QuestionScope of Refereances to Instances Pin
MehmetFurkan26-Mar-07 1:42
MehmetFurkan26-Mar-07 1:42 
Hi, I am just beginner in .NET with C#. In my study, I have learned that when an instance of a class created in the heap is not owned by reference (a variable of that class) , the Garbage Collector (GC) removes this instance from the memory after a while. In my first small application in .NET, I hasitate in a point that When I am testing a click event of a button control of my Form1 class, I declared a variable of type a Form class (let's say Form2). The View is like this:

private void button1_click(....)
{
Form2 myForm2 = new Form2();
myForm2.Show();
}

Here when the execution gets out of the click event, then I expect that the local "myForm2" becomes out of scope for availibility. But my new form (Form2) still apears on my screen. Why? Cause no availiable reference to this Form2 instance anymore, immediately after the button click event routine. Anything I need to know more about "scopes" and GC ?

AnswerRe: Scope of Refereances to Instances Pin
rah_sin26-Mar-07 1:55
professionalrah_sin26-Mar-07 1:55 
QuestionRe: Scope of Refereances to Instances Pin
MehmetFurkan26-Mar-07 4:37
MehmetFurkan26-Mar-07 4:37 
Questionget data in background for datagridview Pin
Seishin#26-Mar-07 0:53
Seishin#26-Mar-07 0:53 
AnswerRe: get data in background for datagridview Pin
Hayder Marzouk26-Mar-07 2:23
Hayder Marzouk26-Mar-07 2:23 
AnswerRe: get data in background for datagridview Pin
Seishin#26-Mar-07 3:03
Seishin#26-Mar-07 3:03 
Questionwonder if some one clear the confusion about Generating MS project Pin
fulbright26-Mar-07 0:41
fulbright26-Mar-07 0:41 
QuestionINTEROP PROBLEM (using dll written in c, linked list) Pin
mephy8326-Mar-07 0:32
mephy8326-Mar-07 0:32 
AnswerRe: INTEROP PROBLEM (using dll written in c, linked list) Pin
netJP12L26-Mar-07 4:14
netJP12L26-Mar-07 4:14 
AnswerRe: INTEROP PROBLEM (using dll written in c, linked list) Pin
Leslie Sanford26-Mar-07 5:24
Leslie Sanford26-Mar-07 5:24 
Questionunderlying type for enum Pin
blackjack215025-Mar-07 23:40
blackjack215025-Mar-07 23:40 
AnswerRe: underlying type for enum Pin
originSH25-Mar-07 23:48
originSH25-Mar-07 23:48 
GeneralRe: underlying type for enum Pin
blackjack215026-Mar-07 0:01
blackjack215026-Mar-07 0:01 
GeneralRe: underlying type for enum Pin
originSH26-Mar-07 2:12
originSH26-Mar-07 2:12 
AnswerRe: underlying type for enum Pin
Guffa26-Mar-07 2:18
Guffa26-Mar-07 2:18 
QuestionProblems with Console Output from Windows-App Pin
J. Holzer25-Mar-07 23:36
J. Holzer25-Mar-07 23:36 
AnswerRe: Problems with Console Output from Windows-App Pin
m@u26-Mar-07 3:39
m@u26-Mar-07 3:39 
Question.NET out of proc component exposing COM Interface Pin
abhinarulkar25-Mar-07 23:28
abhinarulkar25-Mar-07 23:28 

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.