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

C#

 
GeneralRe: in ALOGOL_60 assignment operator Pin
leppie29-Jan-08 22:21
leppie29-Jan-08 22:21 
GeneralRe: in ALOGOL_60 assignment operator Pin
CPallini29-Jan-08 22:23
mveCPallini29-Jan-08 22:23 
GeneralRe: in ALOGOL_60 assignment operator Pin
Pete O'Hanlon29-Jan-08 22:26
mvePete O'Hanlon29-Jan-08 22:26 
GeneralRe: in ALOGOL_60 assignment operator Pin
PIEBALDconsult30-Jan-08 7:24
mvePIEBALDconsult30-Jan-08 7:24 
GeneralError in windows service Pin
mrcsn29-Jan-08 20:44
mrcsn29-Jan-08 20:44 
GeneralRe: Error in windows service Pin
CKnig29-Jan-08 21:03
CKnig29-Jan-08 21:03 
QuestionWhat happens if you don't dispose bitmaps? Pin
Winkles29-Jan-08 20:37
Winkles29-Jan-08 20:37 
AnswerRe: What happens if you don't dispose bitmaps? Pin
Colin Angus Mackay30-Jan-08 0:25
Colin Angus Mackay30-Jan-08 0:25 
Winkles wrote:
Are there any reprocussions to not disposing bitmaps? Won't the GC take care of it all in the long run?


Yes and yes. It uses more memory than is required until the garbage collector gets to it. If you don't dispose of it properly the garbage collector will require two passes at the object (meaning it will stay in memory longer). Also large items, such as bitmaps, go directly into the generation 2 heap which is cleaned up less frequently (meaning it will stay in memory longer).

Bottom line, slap your lax developers.

Upcoming FREE developer events:
* Developer Day Scotland

Recent blog posts:
* The Value of Smaller Methods
* Creating Many-to-Many joins

My website | blog

GeneralRe: What happens if you don't dispose bitmaps? Pin
Scott Dorman30-Jan-08 16:42
professionalScott Dorman30-Jan-08 16:42 
GeneralRe: What happens if you don't dispose bitmaps? Pin
Colin Angus Mackay30-Jan-08 21:37
Colin Angus Mackay30-Jan-08 21:37 
GeneralVisio in C# Pin
nhss29-Jan-08 20:32
nhss29-Jan-08 20:32 
GeneralRe: Visio in C# Pin
Abhijit Jana29-Jan-08 21:23
professionalAbhijit Jana29-Jan-08 21:23 
GeneralRe: Visio in C# Pin
Pete O'Hanlon29-Jan-08 22:29
mvePete O'Hanlon29-Jan-08 22:29 
QuestionProblem to link menu and sitemap... Pin
dipak.dipak29-Jan-08 20:13
dipak.dipak29-Jan-08 20:13 
GeneralRe: Problem to link menu and sitemap... Pin
J a a n s30-Jan-08 4:13
professionalJ a a n s30-Jan-08 4:13 
GeneralOnline Code examples Pin
Daniel_Logan29-Jan-08 19:38
Daniel_Logan29-Jan-08 19:38 
GeneralRe: Online Code examples Pin
pmarfleet29-Jan-08 19:44
pmarfleet29-Jan-08 19:44 
GeneralSelecting specific data with FileStream Pin
Daniel_Logan29-Jan-08 19:32
Daniel_Logan29-Jan-08 19:32 
GeneralRe: Selecting specific data with FileStream Pin
pmarfleet29-Jan-08 19:46
pmarfleet29-Jan-08 19:46 
GeneralRe: Selecting specific data with FileStream Pin
Daniel_Logan29-Jan-08 20:23
Daniel_Logan29-Jan-08 20:23 
GeneralRe: Selecting specific data with FileStream Pin
GuyThiebaut29-Jan-08 20:47
professionalGuyThiebaut29-Jan-08 20:47 
Questioncartesian cordinate from image(X,Y) Pin
f_ft29-Jan-08 19:13
f_ft29-Jan-08 19:13 
GeneralRe: cartesian cordinate from image(X,Y) Pin
CKnig29-Jan-08 20:59
CKnig29-Jan-08 20:59 
GeneralPreventing form resizing on double clicking over title bar Pin
Darmi29-Jan-08 18:22
Darmi29-Jan-08 18:22 
AnswerRe: Preventing form resizing on double clicking over title bar Pin
sathish s29-Jan-08 22:55
sathish s29-Jan-08 22:55 

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.