加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

C#语言规范“程序实例化”似乎被错误识别

发布时间:2020-12-16 01:43:21 所属栏目:百科 来源:网络整理
导读:在C#语言规范中,程序被定义为 Program the input to the compiler. 而应用程序定义为 Application an assembly that has an entry point 但是,他们定义 Program instantiation — the execution of an application. 鉴于“程序”的定义,这不应该…… Applica
在C#语言规范中,程序被定义为

Program the input to the compiler.

而应用程序定义为

Application an assembly that has an entry point

但是,他们定义

Program instantiation — the execution of an application.

鉴于“程序”的定义,这不应该……

Application instantiation — the execution of an application.

代替?

解决方法

据我所知,该术语不会出现在Microsoft版本的规范中.带注释的ECMA规范在“程序”之后有这个注释:

Programs,assemblies,applications and class libraries
This definition of program differs from common usage. In C#,a program is just the input to the compiler. The output of the compiler is an assembly,which is either an application or a class library.

附近没有任何其他注释.这看起来有点奇怪,这也许就是为什么它没有出现在MS规范中.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读