Click here to Skip to main content
15,889,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Packet Question Pin
Spiro Floropoulos7-Aug-08 2:58
Spiro Floropoulos7-Aug-08 2:58 
GeneralRe: C# Packet Question Pin
leppie7-Aug-08 3:02
leppie7-Aug-08 3:02 
GeneralRe: C# Packet Question Pin
leppie7-Aug-08 3:03
leppie7-Aug-08 3:03 
GeneralRe: C# Packet Question Pin
Spiro Floropoulos7-Aug-08 3:26
Spiro Floropoulos7-Aug-08 3:26 
GeneralRe: C# Packet Question Pin
leppie7-Aug-08 3:29
leppie7-Aug-08 3:29 
GeneralRe: C# Packet Question Pin
leppie7-Aug-08 4:19
leppie7-Aug-08 4:19 
QuestionDelete Object from Memory? Pin
softwarejaeger7-Aug-08 2:26
softwarejaeger7-Aug-08 2:26 
AnswerRe: Delete Object from Memory? Pin
Simon P Stevens7-Aug-08 2:42
Simon P Stevens7-Aug-08 2:42 
You don't need to do anything.

C# is a garbage collected language, which means when you have finished using an object, it will automatically be marked for garbage collection and removed from memory on the next pass.

You don't need to set it to null or anything, it will automatically be recognised as not in use once it passes out of scope.

(If you allocate _unmanaged_ resources in your class, like file handles, or database connections, then you should implement the dispose[^] pattern in the class to ensure they get cleaned up promptly)

Simon

AnswerRe: Delete Object from Memory? Pin
#realJSOP7-Aug-08 2:44
mve#realJSOP7-Aug-08 2:44 
AnswerRe: Delete Object from Memory? Pin
Guffa7-Aug-08 2:55
Guffa7-Aug-08 2:55 
Questionthe operation could not be completed. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem Pin
laziale7-Aug-08 2:23
laziale7-Aug-08 2:23 
QuestionVBScript to C# Pin
Mushtaque Nizamani7-Aug-08 1:45
Mushtaque Nizamani7-Aug-08 1:45 
AnswerRe: VBScript to C# Pin
AhsanS7-Aug-08 2:04
AhsanS7-Aug-08 2:04 
GeneralRe: VBScript to C# Pin
Mushtaque Nizamani7-Aug-08 2:13
Mushtaque Nizamani7-Aug-08 2:13 
QuestionFile Transfer using C# Pin
Ian Uy7-Aug-08 1:44
Ian Uy7-Aug-08 1:44 
AnswerRe: File Transfer using C# Pin
Luke Lovegrove7-Aug-08 2:47
Luke Lovegrove7-Aug-08 2:47 
GeneralRe: File Transfer using C# [modified] Pin
Ian Uy7-Aug-08 2:55
Ian Uy7-Aug-08 2:55 
GeneralRe: File Transfer using C# Pin
Luke Lovegrove7-Aug-08 3:18
Luke Lovegrove7-Aug-08 3:18 
QuestionC# Equivalent code for C++ Pin
Raheem MA7-Aug-08 1:04
Raheem MA7-Aug-08 1:04 
AnswerRe: C# Equivalent code for C++ Pin
blackjack21507-Aug-08 1:07
blackjack21507-Aug-08 1:07 
GeneralRe: C# Equivalent code for C++ Pin
Raheem MA7-Aug-08 1:15
Raheem MA7-Aug-08 1:15 
AnswerRe: C# Equivalent code for C++ Pin
Guffa7-Aug-08 3:06
Guffa7-Aug-08 3:06 
AnswerRe: C# Equivalent code for C++ Pin
Dave Doknjas7-Aug-08 12:56
Dave Doknjas7-Aug-08 12:56 
Questionpop3 encoding problems Pin
GeorgeBerry7-Aug-08 0:30
GeorgeBerry7-Aug-08 0:30 
AnswerRe: pop3 encoding problems Pin
leppie7-Aug-08 2:54
leppie7-Aug-08 2:54 

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.