Original link: https://chenyan98.cn/3639.html
Q1: CLR CLS CTS relationship is unclear (CLR=CLS+CTS) A: The above three contents are actually different program “modules”. It is like the several modules of the computer we are talking about: CPU, memory, hard disk, motherboard. CLR: The common language runtime (virtual machine) is mainly used to compile the code we write into Microsoft’s intermediate language IL. CLS: During compilation, we know that the code written in C# is syntactically different from the code written in VB. When compiling to IL, the syntax must be standardized. CTS: During compilation, we know that the code written in C# and the code written in VB are different in data type. When compiling into IL, the data type must be standardized. Q2: If the referenced assembly is not in the current directory, where to set the path? A2: When we refer to third-party class libraries, we usually copy […]
This article is reprinted from: https://chenyan98.cn/3639.html
This site is for inclusion only, and the copyright belongs to the original author.