What is the difference between finalize() and dispose()?
Answer / Pervinder Singh
"Finalize() is a method that runs automatically when an object is garbage collected, while Dispose() is a method that developers can call manually to release unmanaged resources before an object is garbage collected. The main difference is control and timing."
| Is This Answer Correct ? | 0 Yes | 0 No |
Can arraylist hold primitive types?
What does the keyword virtual mean in the method definition?
What is tochararray in c#?
What are predicates in c#?
Where do we set the min and max pool size for connection pooling?
What is difference between hashtable and dictionary in c#?
If a class is a ref type, how we can pass to a function.
What is the default scope of a class in c#?
how to handle errors in sqlserver
What is call back method?
What Is An Interface Class?
What does assert() do in c#?
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)