P
P
Paul Fawkes2019-05-27 11:03:29
.NET
Paul Fawkes, 2019-05-27 11:03:29

What is .net framework?

As I understand it, .net/ c# means cross-platform applications written in c#

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Ronald McDonald, 2019-05-27
@Zoominger

As I understand it, .net/ c# means cross-platform applications written in c#

I understand that warm means the softness of green.
Read: https://ru.wikipedia.org/wiki/.NET_Framework
In a nutshell, the .NET Framework is a platform, and C# is one of the languages ​​in which you can write for it.

N
nrgian, 2019-05-27
@nrgian

The toolkit is primarily a runtime environment for programs compiled under the .NET Framework. As well as libraries and a compiler, etc.
This is necessary for, for example, C# programs.
As an example:
A Python program usually needs a Python interpreter on the same machine where the Python program will run. And libraries.
A PHP program, likewise, needs a PHP interpreter. And libraries.
A JavaScript program needs a JavaScript interpreter, such as the one built into browsers.
A Java/Kotlin program needs a runtime called JVM and libraries and a compiler
A C / C ++ program needs a compiler and libraries (or at least header files), the execution environment, unlike all the previous ones, is just an operating system, no additional execution environment is needed. A Go program needs a compiler
and libraries, with a runtime environment similar to C/C++.
Java/Kotlin this analog is called JVM).
In contrast, C/C++/Go/Pascal etc. - the program is compiled into the binary code of the processor and does not require any special execution environment, except for the operating system.
In contrast, Python/PHP/Ruby/JavaScript etc. the program is run through the interpreter. The stage of compilation into binary code in some of these environments, even if it exists, is transparent to the programmer, it is not separated into a separate stage.

D
Daniel Demidko, 2019-05-27
@DanielDemidko

In simple words.
1. Code in a programming language can be compiled not only into native OS code, but also into byte code of an executing machine. The execution machine, on the other hand, can be available for different operating systems. This is its meaning, so that the same executable file can run on different operating systems.
2. The project can consist not only of your files, but also of pre-compiled libraries (obviously).
3. A comprehensive set of an executing machine, a compiler of your language (and possibly other languages) into the byte code of this executing machine, and a bunch of libraries (+ possibly some other development tools) is usually called a framework.
To put it even more simply: a framework is a huge set of libraries and development tools.
In our particular case, the language is C# and the framework is .NET.
But there are other frameworks, such as Java (which uses the Java language) or .NET Core (which also uses C#).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question