Is the lack of deterministic destruction in .NET a problem
Answer / kirti
It's certainly an issue that affects component design. If you have objects that maintain expensive or scarce resources (e.g. database locks), you need to provide some way for the client to tell the object to release the resource when it is done. Microsoft recommend that you provide a method called Dispose() for this purpose. However, this causes problems for distributed objects - in a distributed system who calls the Dispose() method? Some form of reference-counting or ownership-management mechanism is needed to handle distributed objects - unfortunately the runtime offers no help with this.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is mean by type-safe? Please answer me. Advance thanks.
what is a mvc in asp.net?
3 Answers Cap Gemini, Elsinoir Technologies, HCL,
What is a razor file?
What is the difference between a Struct and a Class
Is there built-in support for tracing/logging
The order of the filters that get executed, if the multiple filters are implemented?
What is the significance of nonactionattribute?
How can I return string result from action in asp.net mvc?
What is the greatest advantage of using asp.net mvc over asp.net webforms?
Integer & struct are value types or reference types in .NET?
What is mapping in entity framework? : Entity framework
What is GUID , why we use it and where