Difference between Dispose and Finalize method
Answer / kirti
Finalize method is used to free the memory used by some unmanaged resources like window handles (HWND). It's similar to the destructor syntax in C#. The GC calls this method when it founds no more references to the object. But, In some cases we may need release the memory used by the resources explicitely.To release the memory explicitly we need to implement the Dispose method of IDisposable interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
How does assembly versioning work?
What is RouteConfig.cs in ASP.Net MVC 4?
Explain linq to entities? : Entity framework
How to identify the Code which Complies corresponding Compiler in .NET? Means Suppose, i am taking One project A.. in which code is implemented using C# langugge. And Another Project B..in Which Code is implemented using VB.NET. Suppose I am creating Project C. i am adding Reference of Project A and B to Project C. So, in Project C, how to identify Project A is Complied through CSCompliler? And Project B is Compiled VBCompiler at Runtime?
Explain tempdata in asp.net mvc?
How can Bitwise OR operator reresents in .Net?? To which alias name a variable points to if it is declared as "int" variable??
Explain tempdata in mvc?
How do you sort a dataset?
what is entity framework?
Define the core components of an ASP.NET MVC application?
How to free the memory that is not used by an object in garbage collection?
What is oauth in web api?