Features of DotNet Framework
1. Cross- Language Interoperability:
Language interoperability is the ability of a code to interact with another code that is written by using a different programming language irrespective of the language in which it is created. Language interoperability can help maximize code reuse and improve the overall efficiency of the development process.
2. Multi-language Support
The .NET platform supports many programming languages. A new compiler must be implemented for each language , FrameworkV2.0 supports up to 45 languages.
3. Automatic Resource Management
In the common language runtime (CLR), the garbage collector serves as an automatic memory manager.
- The Features of DotNet Framework’s garbage collector manages the allocation and release of memory for our application. Each time we create a new object, the common language runtime allocates memory for the object from the managed heap.
- The runtime automatically handles object layout and manages references to objects, releasing them when they are no longer being used. This automatic memory management resolves the two most common application errors, memory leaks and invalid memory references.
4. Type Safety
Data structure in .NET supported languages has the same layout. This means that some code can consume types and instances declared in other languages.
A debugger is a computer program that lets you run your program, line by line and examine the values of variables or look at values passed into methods and let you figure out why it isn’t running the way you expected it to.
6. Elimination of DLL Hell
DLL Hell happens when multiple applications attempt to share a common DLL.
Features of DotNet Framework Framework solves this problem by allowing multiple versions of the same DLL to coexist.
Managed components are awarded varying degrees of trust, depending on a number of factors that include their origin (such as the Internet, enterprise network, or local computer). This feature empowers a developer to determine whether a managed component performs file-access operations, registry-access operations, and other sensitive functions or not.