NET Framework is a user interface mode that runs programs independent of the hardware system. In other words, the user has the possibility to run the same actual program (initially compiled on a hardware device) being compiled for the dot net platform, on another hardware device, but running a dot net operating system (or platform).
The two major components of .NET Framework are the Common Language Runtime and the .NET Framework Class Library.
• The Common Language Runtime (CLR) is the execution engine that handles running applications. It provides services like thread management, garbage collection, type-safety, exception handling, and more.
• The Class Library provides a set of APIs and types for common functionality. It provides types for strings, dates, numbers, etc. The Class Library includes APIs for reading and writing files, connecting to databases, drawing, and more.