C# .Net Environment Setup
C# is used for the server-side execution of all the applications like web, windows form or console, etc. In order to use C# with your .Net application, you need two things, .NET Framework and IDE (Integrated Development Environment).
The .NET Framework:
The various components of the .NET Framework:
- Common Language Runtime (CLR)
- The .NET Framework Class Library
- Common Language Specification
- Common Type System
- Metadata and Assemblies
- Windows Forms
- Net and ASP.Net AJAX
- Windows Workflow Foundation
- Windows Communication Foundation (WCF)
- Windows Presentation Foundation
Integrated Development Environment:
An IDE is a tool that helps us write a program. Visual Studio is an IDE provided by Microsoft to write the code in languages such as C#, F#, VisualBasic, etc.
The CLR is the foundation of the .NET Framework. It manages code at execution time, providing core services such as memory management, code accuracy, and others.
The Class Library is a collection of classes, interfaces and value types that enable us to accomplish a range of common programming tasks like data collection, file access and working with text.
Please consult Microsoft’s documentation for more details of each component. Here is the link https://docs.microsoft.com/en-us/dotnet/csharp/getting-started/introduction-to-the-csharp-language-and-the-net-framework
For Running C# codes on other Operating Systems like LINUX or MAC OS:
The .NET Framework runs on Windows Operating System but there are alternates made to work on other operating systems. Mono is an open-source version of the .NET Framework which has a C# compiler and can be run on several operating systems like Windows, LINUX, MAC OS, Android, BSD, IOS, OS X, Solaris, and UNIX.