当前位置:网站首页>C managed and unmanaged resources
C managed and unmanaged resources
2022-07-22 01:16:00 【Crazy programmer】
C# Managed and unmanaged resources
Managed resources
Managed resources are generally referred to as being CLR Control of memory resources , These resources can be managed by CLR To control , For example, objects allocated in a program , Variables within the scope .
Unmanaged Resources
Unmanaged resources are CLR Parts that cannot be controlled or managed , There are many of these resources , Like file streams , Database connection , Window handle to the system , Printer resources etc. , These resources generally do not exist in Heap( A place in memory where object instances are stored ) in .
CLR
C# Is a programming language , It's running on CLR Upper ,CLR Provides its compilation environment . CLR, That is, the common language runtime ,CLR It provides a programming model that all types of applications should use . Including file loader , Garbage collector , Security system , Thread pool, etc .CLR It also provides an object-oriented programming model , Defines what types and objects are , And how they behave .
CLR:Common Language Runtime, It's a multi programming language “ Runtime ”.CLR Core functions ( For example, memory management 、 Assembly loading 、 Security 、 Exception handling and thread synchronization ) Can be oriented by CLR All languages of (C#,Visual Basic,F# etc. ) Use .
边栏推荐
- C language 10 entry questions set
- Oracle sets the maximum number of connections
- dom——页面的渲染过程
- uniapp 微信小程序 用户授权 获取用户信息
- [data analysis 01]
- Analysis of steam education benefiting primary and secondary schools
- Leetcode skimming 03
- 45:第四章:开发文件服务:6:第三方云存储解决方案【阿里云OSS】;(购买OSS服务;开通服务;创建一个Bucket;)
- Solve the problem that the uploaded file of ftpclient is empty and 0 bytes are displayed
- 解读符合新时代主流的创客教育模式
猜你喜欢
Business innovation driven by metadata to build new competitive advantages of enterprises
实行STEAM校本课程体系的策略
About object obj = new object()
Analyze the Enlightenment of children's programming thinking
2022 Blue Bridge Cup provincial match group B supplementary questions [decimal to decimal], [shunzi date], [question brushing statistics], [pruning shrubs]
Openshift security (17) - integrate compliance scanning of openshift compliance operator into rhacs
dom——style的操作
赫斌C语言全案文,自用笔记,给后来者一点思路
malloc 和 空间配置器
Leetcode skimming 03
随机推荐
Analysis of steam education benefiting primary and secondary schools
【RM_EE_Note】2 串口&遥控器
Openshift security (17) - integrate compliance scanning of openshift compliance operator into rhacs
Design and implementation of tcp/ip protocol stack LwIP: Part VI
C language flexible array
Openshift 4 - install ODF and deploy red hat Quay (3 worker)
Do traditional enterprises need data center?
06. Introduction, installation and simple use of octave
【RM_EE_Note】1 GM6020收发&简单的PID调试
Interpreting the maker education model in line with the mainstream of the new era
如何开启自己的网络人生
Leetcode skimming: related topics of binary tree sequence traversal
What is the new generation of enterprise IT architecture? Cloud primordial? Low code?
两个list求差
<a>标签跳转到Servelet页面并实现参数的传递
CUDA文件中无法打开源文件<stdio.h>
分析少儿编程思维的启蒙问题
How PHP queries whether there are specified tables in MySQL database
Share 50 free cloud disk and online disk Services - with unlimited storage space
Es installation & IK Chinese parser