C# .Net 框架上的 clr.dll 是什么,它有什么作用?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19698819/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-10 15:39:43  来源:igfitidea点击:

What is clr.dll on .Net framework and what does it do?

c#.netgarbage-collectionclrprofiler

提问by user2545071

I use profiling tools on VS2012 and see,that clr.dll works a lot of time. Is it Garbage Collection? What clr.dll can do? Please tell me. Thank you!

我在 VS2012 上使用分析工具,看到 clr.dll 工作了很多时间。是垃圾收集吗?clr.dll 可以做什么?请告诉我。谢谢!

采纳答案by ElGavilan

Common Language Runtime. It's basically the engine for .NET

公共语言运行时。它基本上是 .NET 的引擎

回答by Brian Rasmussen

clr.dll is the primary binary in the .NET runtime version 4.0 and forward. This dll used to be mscorwks.dll in previous versions of .NET.

clr.dll 是 .NET 运行时版本 4.0 及更高版本中的主要二进制文件。这个 dll 在以前的 .NET 版本中曾经是 mscorwks.dll。