Click here to Skip to main content
15,892,480 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: windows form sizing Pin
Alexander Pokisluk24-May-06 1:40
Alexander Pokisluk24-May-06 1:40 
QuestionSelect text in TextBox when Form loads Pin
ricecake23-May-06 6:56
ricecake23-May-06 6:56 
AnswerRe: Select text in TextBox when Form loads Pin
ricecake23-May-06 7:42
ricecake23-May-06 7:42 
QuestionFinalize() Method [modified] Pin
Tristan Rhodes23-May-06 3:09
Tristan Rhodes23-May-06 3:09 
AnswerRe: Finalize() Method [modified] Pin
Robert Rohde23-May-06 3:34
Robert Rohde23-May-06 3:34 
GeneralRe: Finalize() Method [modified] Pin
Tristan Rhodes23-May-06 4:23
Tristan Rhodes23-May-06 4:23 
AnswerRe: Finalize() Method [modified] Pin
Guffa24-May-06 1:35
Guffa24-May-06 1:35 
AnswerRe: Finalize() Method [modified] Pin
StevenS_Dev25-May-06 19:03
StevenS_Dev25-May-06 19:03 
As far as I know, your are correct. Garbage collection will call Finalize on ONLY those instances which contain a Finalize in their class. Otherwise, Finalize is NOT called.

Finalize does add some extra overhead to the garbage collector. When a class is constructed which contains a Finalize method, a reference is placed in a special Finalize-related queue. There is also a queue called f-reachable which pertains to finalize as well.

Microsoft's documentation recommends to not use Finalize very often as it takes a large hit to the garbage collection.

Here is an interesting article from the Microsoft site. Perhaps you have already read it. Good information!

http://msdn.microsoft.com/msdnmag/issues/1100/gci[^]
QuestionDatagrid vscrollbar mouse events. Pin
space_doggy22-May-06 11:05
space_doggy22-May-06 11:05 
GeneralRe: Datagrid vscrollbar mouse events. Pin
space_doggy23-May-06 2:47
space_doggy23-May-06 2:47 
AnswerRe: Datagrid vscrollbar mouse events. Pin
Alexander Pokisluk24-May-06 1:55
Alexander Pokisluk24-May-06 1:55 
AnswerRe: Datagrid vscrollbar mouse events. Pin
space_doggy24-May-06 12:09
space_doggy24-May-06 12:09 
QuestionIL Code to DLL Pin
Gedrain22-May-06 10:24
Gedrain22-May-06 10:24 
AnswerRe: IL Code to DLL Pin
Ed.Poore23-May-06 8:09
Ed.Poore23-May-06 8:09 
AnswerRe: IL Code to DLL Pin
Eric Dahlvang23-May-06 10:05
Eric Dahlvang23-May-06 10:05 
GeneralRe: IL Code to DLL Pin
Gedrain23-May-06 11:42
Gedrain23-May-06 11:42 
Questiontextbox Pin
locaas22-May-06 1:20
locaas22-May-06 1:20 
AnswerRe: textbox Pin
Rabbit1722-May-06 6:26
Rabbit1722-May-06 6:26 
Questionolap access rights using .Net Pin
sohne21-May-06 20:36
sohne21-May-06 20:36 
QuestionGDI+ Graphics question... [modified] Pin
new_phoenix20-May-06 13:18
new_phoenix20-May-06 13:18 
AnswerRe: GDI+ Graphics question... [modified] Pin
Ed.Poore21-May-06 12:00
Ed.Poore21-May-06 12:00 
GeneralRe: GDI+ Graphics question... [modified] Pin
new_phoenix22-May-06 13:37
new_phoenix22-May-06 13:37 
GeneralRe: GDI+ Graphics question... [modified] Pin
Ed.Poore23-May-06 5:13
Ed.Poore23-May-06 5:13 
GeneralRe: GDI+ Graphics question... [modified] Pin
new_phoenix25-May-06 13:17
new_phoenix25-May-06 13:17 
AnswerRe: GDI+ Graphics question... [modified] Pin
alexey N22-May-06 0:34
alexey N22-May-06 0:34 

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.