C#
C# Collections Tutorial with Examples
In our previous tutorial, we have learned about how we can use arrays in C#. Let's have a quick...
.Net Framework is a software development platform developed by Microsoft for building and running Windows applications. The .Net framework consists of developer tools, programming languages, and libraries to build desktop and web applications. It is also used to build websites, web services, and games.
The .Net framework was meant to create applications, which would run on the Windows Platform. The first version of the .Net framework was released in the year 2002. The version was called .Net framework 1.0. The Microsoft .Net framework has come a long way since then, and the current version is .Net Framework 4.7.2.
The Microsoft .Net framework can be used to create both - Form-based and Web-based applications. Web services can also be developed using the .Net framework.
The framework also supports various programming languages such as Visual Basic and C#. So developers can choose and select the language to develop the required application. In this chapter, you will learn some basics of the .Net framework.
In this .Net Architecture tutorial, you will learn .NET Framework basics-
.Net Framework Architecture is a programming model for the .Net platform that provides an execution environment and integration with various programming languages for simple development and deployment of various Windows and desktop applications. It consists of class libraries and reusable components.
The basic architecture of the .Net framework is as shown below.
The architecture of .Net framework is based on the following key components;
The "Common Language Infrastructure" or CLI is a platform in .Net architecture on which the .Net programs are executed.
The CLI has the following key features:
Examples of exceptions are:
Examples of garbage collection are
As noted in an earlier section, a developer can develop an application in a variety of .Net programming languages.
The .NET Framework includes a set of standard class libraries. A class library is a collection of methods and functions that can be used for the core purpose.
For example, there is a class library with methods to handle all file-level operations. So there is a method which can be used to read the text from a file. Similarly, there is a method to write text to a file.
Most of the methods are split into either the System.* or Microsoft.* namespaces. (The asterisk * just means a reference to all of the methods that fall under the System or Microsoft namespace)
A namespace is a logical separation of methods. We will learn these namespaces more in detail in the subsequent chapters.
The types of applications that can be built in the .Net framework is classified broadly into the following categories.
Microsoft always ensures that .Net frameworks are in compliance with all the supported Windows operating systems.
Now in this .Net Architecture tutorial, we will learn the design priciples of .Net framework. The following design principles of the .Net framework is what makes it very relevant to create .Net based applications.
The garbage collector runs at regular intervals and keeps on checking which system resources are not utilized, and frees them accordingly.
Summary
In our previous tutorial, we have learned about how we can use arrays in C#. Let's have a quick...
In this tutorial, you will learn- Access Modifiers Constructor Access Modifiers Access Modifiers or...
C# is based on the C++ programming language. Hence, the C# programming language has in-built...
What is an Interface Class? Interfaces are used along with classes to define what is known as a...
C# is one of the languages provided by Microsoft to work with .Net. This language encompasses a...
Flow Control and conditional statements Flow control and conditional statements are available in...