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应用英文文献和中文翻译
-
-
-
-
-
-
-
NFC协议物理层的软件实现+文献综述
中国传统元素在游戏角色...
巴金《激流三部曲》高觉新的悲剧命运
现代简约美式风格在室内家装中的运用
高警觉工作人群的元情绪...
g-C3N4光催化剂的制备和光催化性能研究
C++最短路径算法研究和程序设计
江苏省某高中学生体质现状的调查研究
浅析中国古代宗法制度
上市公司股权结构对经营绩效的影响研究