Introduction to the C# language C # is an object-oriented and type of programming language, from C and C + +. C # (pronounced - C sharp) firmly planted in the C and C + + language genealogy, and will be immediately familiar with C and C + + programmers in C # is part of the Microsoft Visual Studio 7.0. In addition to the c #, Visual Studio support Visual Basic, Visual c + +, scripting languages and JScript VBScript. All these languages provide the next generation Windows services (NWGS) platform, including common execution engine and rich class library. . Network software development kit defines a "common language subset" (CLS), a kind of language, to ensure seamless interoperability between CLS - compliant language and libraries. For c # developer, this means that even if the c # is a new language, it has full access to the same rich class library, by experienced tools, such as the use of Visual Basic and Visual c + +. C # does not contain a class library. The rest of this chapter describes the basic characteristics of the language.50566
manual memory management requires developers to manage the allocation and de-allocation of blocks of memory. Manual memory management is both time consuming and difficult. C# provides automatic memory management so that developers are freed from this burdensome task. In the vast majority of cases, this automatic memory management increases code quality and enhances developer productivity without negatively impacting either expressiveness or performance.
The use of a test program stack class, create and initialize a stack and 10 elements, and then assign a null value. Once the variable assignment null, stack and become 10 nodes instances of garbage collection. Immediately clean up the garbage collector is allowed, but not required. Developers often content automatic memory management, but sometimes need to fine-grained control or additional performance, unsafe to be able to write c # code. This code can be directly with pointer type, and fix objects temporarily stop the garbage collector will they. This kind of unsafe for code function is actually safe for function from the perspective of developers and users. Unsafe code in the code must be clearly marked and modifier is unsafe, so developers can't use unsafe features not careful, and the c # compiler execution engine work together, to ensure the safety of unsafe code doesn't pretend to be the code.
C # supports two main types: value types and reference types. Value types, including simple types (like int, char, and float), enumerated types and structure type.
.原文的翻译C#语言介绍
c#是一个面向对象和类型的编程语言,来自C和c++。c#(发音- C锋利为)牢牢插在C和c++语言的族谱中,并将立即熟悉C和c++程序员c#是微软Visual Studio 7.0的一部分。除了c#,Visual Studio支持Visual Basic,Visual c++,脚本语言VBScript和JScript。所有这些语言提供下一代Windows服务(NWGS)平台,其中包括常见的执行引擎和丰富的类库。的。网络软件开发工具包定义了一个“共同的语言子集”(CLS),一种通用语,确保无缝CLS-compliant语言之间的互操作性和类库。论文网对于c#开发人员,这意着即使c#是一种新语言,它有完全访问相同的丰富的类库,由经验丰富的工具,如使用Visual Basic和Visual c++。c#本身并不包含一个类库。剩下的这一章描述了语言的基本特征。
上一篇:C#语言与.NET Framework英文文献和中文翻译
下一篇:Android应用英文文献和中文翻译

AngularJS技术介绍英文文献和中文翻译

开关电源水冷却系统英文文献和中文翻译

减数分裂和基因重组英文文献和中文翻译

太阳能最大功率点追踪和...

移动码头的泊位分配问题英文文献和中文翻译

虚拟船舶装配集成建模方...

中学生科学探究中对等论...

提高教育质量,构建大學生...

浅论职工思想政治工作茬...

压疮高危人群的标准化中...

上海居民的社会参与研究

酵母菌发酵生产天然香料...

从政策角度谈黑龙江對俄...

浅谈高校行政管理人员的...

基于Joomla平台的计算机学院网站设计与开发

STC89C52单片机NRF24L01的无线病房呼叫系统设计

AES算法GPU协处理下分组加...