Why is it preferred to not use finalize for clean up?
Answer / Gyanendra Pratap Singh
Finalize methods in .NET can lead to performance issues, memory leaks, and unpredictable behavior due to the possibility of multiple garbage collections, making Dispose() methods a better choice for cleaning up resources.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to disable validator control by client side JavaScript?
what is machine key error in asp.net? how to solve it?
how to debug web services on consumer side?
Is asp.net outdated?
How many types of sessions in asp.net?
What is the base class from which web forms are inherited?
What are the events in a page life cycle?
How to stop the inheritance?
What is mvc in angular?
accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) { TextBox t2 = new TextBox(); t2.ID = "adf" + i; PlaceHolder1.Controls.Add(t2); } accessing data entered in the above created controls.
What is an example of an application service provider?
How do you do exception management?
1 Answers Accenture, BirlaSoft,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)