C#语言和.NET Framework介绍毕业论文外文翻译.docx
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《C#语言和.NET Framework介绍毕业论文外文翻译.docx》由会员分享,可在线阅读,更多相关《C#语言和.NET Framework介绍毕业论文外文翻译.docx(11页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、附 录1: 英文原文Introduction to the C# Language and the .NET Framework C# languageC# syntax is highly expressive, yet it is also simple and easy to learn. The curly-brace syntax of C# will be instantly recognizable to anyone familiar with C, C+ or Java. Developers who know any of these languages are typic
2、ally able to begin to work productively in C# within a very short time. C# syntax simplifies many of the complexities of C+ and provides powerful features such as nullable value types, enumerations, delegates, lambda expressions and direct memory access, which are not found in Java. C# supports gene
3、ric methods and types, which provide increased type safety and performance, and iterators, which enable implementers of collection classes to define custom iteration behaviors that are simple to use by client code. In C# 3.0, Language-Integrated Query (LINQ) expressions make the strongly-typed query
4、 a first-class language construct.As an object-oriented language, C# supports the concepts of encapsulation, inheritance, and polymorphism. All variables and methods, including the Main method, the applications entry point, are encapsulated within class definitions. A class may inherit directly from
5、 one parent class, but it may implement any number of interfaces. Methods that override virtual methods in a parent class require the override keyword as a way to avoid accidental redefinition. In C#, a struct is like a lightweight class; it is a stack-allocated type that can implement interfaces bu
6、t does not support inheritance.In addition to these basic object-oriented principles, C# makes it easy to develop software components through several innovative language constructs, including the following:(1)Encapsulated method signatures called delegates, which enable type-safe event notifications
7、.(2)Properties, which serve as accessors for private member variables.(3)Attributes, which provide declarative metadata about types at run time.(4) Inline XML documentation comments.(5)Language-Integrated Query (LINQ) which provides built-in query capabilities across a variety of data sources.If you
8、 have to interact with other Windows software such as COM objects or native Win32 DLLs, you can do this in C# through a process called Interop. Interop enables C# programs to do almost anything that a native C+ application can do. C# even supports pointers and the concept of unsafe code for those ca
9、ses in which direct memory access is absolutely critical.The C# build process is simple compared to C and C+ and more flexible than in Java. There are no separate header files, and no requirement that methods and types be declared in a particular order. A C# source file may define any number of clas
10、ses, structs, interfaces, and events. .NET Framework Platform ArchitectureThe .NET Framework is an integral Windows component that supports building and running the next generation of applications and XML Web services. The .NET Framework is designed to fulfill the following objectives:(1)To provide
11、a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely.(2)To provide a code-execution environment that minimizes software deployment and versioning conflicts.(3)To provide a code-executi
12、on environment that promotes safe execution of code, including code created by an unknown or semi-trusted third party.(4)To provide a code-execution environment that eliminates the performance problems of scripted or interpreted environments.(5)To make the developer experience consistent across wide
13、ly varying types of applications, such as Windows-based applications and Web-based applications.(6)To build all communication on industry standards to ensure that code based on the .NET Framework can integrate with any other code.The .NET Framework has two main components: the common language runtim
14、e and the .NET Framework class library. The common language runtime is the foundation of the .NET Framework. You can think of the runtime as an agent that manages code at execution time, providing core services such as memory management, thread management, and remoting, while also enforcing strict t
15、ype safety and other forms of code accuracy that promote security and robustness. In fact, the concept of code management is a fundamental principle of the runtime. Code that targets the runtime is known as managed code, while code that does not target the runtime is known as unmanaged code. The cla
16、ss library, the other main component of the .NET Framework, is a comprehensive, object-oriented collection of reusable types that you can use to develop applications ranging from traditional command-line or graphical user interface (GUI) applications to applications based on the latest innovations p
17、rovided by ASP.NET, such as Web Forms and XML Web services.The .NET Framework can be hosted by unmanaged components that load the common language runtime into their processes and initiate the execution of managed code, thereby creating a software environment that can exploit both managed and unmanag
18、ed features. The .NET Framework not only provides several runtime hosts, but also supports the development of third-party runtime hosts.For example, ASP.NET hosts the runtime to provide a scalable, server-side environment for managed code. ASP.NET works directly with the runtime to enable ASP.NET ap
19、plications and XML Web services, both of which are discussed later in this topic.Internet Explorer is an example of an unmanaged application that hosts the runtime (in the form of a MIME type extension). Using Internet Explorer to host the runtime enables you to embed managed components or Windows F
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- C#语言和.NET Framework介绍 毕业论文外文翻译 C# 语言 NET Framework 介绍 毕业论文 外文 翻译
![提示](https://www.deliwenku.com/images/bang_tan.gif)
限制150内