Most voted "clr" questions
Common Language Runtime (CLR) is the component of Microsoft’s NET virtual machine. It is responsible for managing the execution of NET programs.
Learn more…21 questions
Sort by count of
-
74
votes5
answers2194
viewsExceptions consume a lot of processing. Truth or legend?
I’ve seen shows like this : if(!clienteExiste(1)) { return "Cliente não existe."; } and others like that if(!clienteExiste(1)) { throw new Exception("Cliente não existe."); } The second code will…
-
68
votes2
answers16758
views -
51
votes2
answers4996
viewsMemory allocation in C# - Value types and reference types
In C# there is a difference between the form that memory is allocated by the CLR for reference types (classes) and value types (structures). The difference, from what I’ve always heard, would be…
-
43
votes5
answers2270
viewsUsing unused affect performance?
While I was developing, I saw that in most of my classes contained a certain amount of using that were not being used and came to me the doubt of the title. Using unused affects the performance of…
-
28
votes3
answers1436
viewsHow does method management work in C#memory?
In C# there is a clear distinction between value types (structs) and reference types (classes), this distinction being basically the way in which the CLR manages instances of each type. Value type…
-
19
votes1
answer1277
viewsWhat is "Runtime Environment" really?
Studying a little about ASP.NET 5 I came across something I did not understand very well. To use it you need to install KVM (K Version Manager) and KPM (K Package Manager). KVM is responsible for…
-
18
votes1
answer1702
viewsWhat’s the right way to call the C#versions?
There seems to be some confusion with the nomenclature of the versions of C# and the technologies that are related to it. Is there a C# 2005? Or a C# 3.5? How do C# versions relate to . Net, Visual…
-
18
votes2
answers847
viewsHow does running an . NET application work?
There are several terms I always hear/read when I see talk about running. NET applications, such as MSIL, CIL, IL, JIT, Jiter, Roslyn, CLR, among others I must have forgotten. I would like a brief…
-
13
votes1
answer236
viewsIs it possible to interact a C# code with code external to . NET?
How to call code written in another language that is not part of . NET, for example the language C? How this interaction takes place? How to call native Windows functions?
-
11
votes3
answers1211
viewsConcepts of Mesomorphic Allocation and Liberation in C#
I’m making a web application that has a finite recursive loop. But during the process the memory consumption is constantly growing and at the end Visual Studio has more than 2 Gigas of memory use. I…
-
8
votes1
answer497
viewsWhat is DNX really?
A long time ago I asked here what is the Runtime Environment, especially on the .NET. platform. It turns out that now . NET has DNX which is ". NET Execution Enviroment". In practice we use DNX to…
-
8
votes1
answer1303
viewsWhat is and how does . NET Platform Standard work?
Recently I have studied the . NET Core and ASP.NET Core and one of the changes to the RC2 version that is to come, as far as I know, is called . NET Platform Standard. This standard is described in…
-
7
votes2
answers1416
viewsWhat is the behavior of static variables in . NET?
What is the behavior of static variables in . NET? These are stored in heap or in the stack?
-
7
votes1
answer161
viewsEdgejs and Entity Framework
Next, I am learning Nodejs and I am delighted with the same, however I found my first stone on the way, access to relational database using some ORM (precisely to access Postgresql). Initially I…
-
6
votes1
answer325
viewsThe Node in the World . NET would be CLR or . NET?
Since Node is a development platform server-side in JS... and . NET we have CLR (Common Language Runtime) the Node would be the CLR that compiles? Or a framework like . NET, as two import modules I…
-
6
votes3
answers519
viewsHow does C# run on other platforms?
As a complement to this question, run C# on a system where . NET Framework is native, it is default to run the application executable. As far as I know, C# depends on the . NET Framework to be…
-
5
votes1
answer248
viewsWhat is managed code?
In a conversation with a co-worker about what language was used to develop Windows, he said that many parts should still be developed in C and C++, as it was necessary to run unmanaged code. Other…
-
5
votes1
answer446
views -
2
votes2
answers172
viewsDoes the garbage collector really exist? Why then is there a memory leak in runtimes that use it?
I’ve heard of memory leakage in Oracle.DataAccess.dll and in large applications developed for runtimes with garbage collector. If the garbage collector exists in those runtimes, why there is memory…
-
1
votes1
answer54
viewsReason for different versions of DNX depending on the OS
A while ago I asked here about what . NET Execution Environment (DNX) really is. After reading the answer and the DNX Wiki I started to understand DNX as an interface between the virtual machine in…
-
0
votes1
answer63
viewsHow can I find the gpu and cpu name in Qt c++
Any of these solutions suit me, I first tested a system management code to try to find the name of the gpu and cpu, but give this error to me in visual studio, the compiler seems not to accept clr,…