C# 简介毕业论文外文翻译.doc
《C# 简介毕业论文外文翻译.doc》由会员分享,可在线阅读,更多相关《C# 简介毕业论文外文翻译.doc(10页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、附录1 英文文献翻译1. 英文1.1 INTROUCTION TO C#1.1.1 The Birth of C#As a recent birth in the programming language family# has two programming language parents+ and Java# contains many C+ features but also adds the object-oriented features from Java.C# contains many different components, including:l Versioning
2、support, so that your base and derived classes-templates that define how an object performsremain compatible as you develop them l Events, so that your program can notify clients of a class about something that has happened to an object l Type safety and verification that increases reliability and e
3、nsures code securityl Garbage collection, so that your program can identity objects that your program can no longer reachl Unsafe mode, where you can use pointers to manipulate memory outside the garbage collectors control, including methods and properties 1.1.2 Close Relations with C and C+C# is bu
4、ilt on the C+ language, so it behaves much like the language. Like C+, C# lets you write enterprise applications, and C# contains many C+ features, including statements and operators. C# also provides access to common Application Program Interface (API) styles including Component Object Model (COM)
5、and C-style APIs.1.1.3 SecurityComputer networks let programmers share Visual Studio.NET code including C# programs across the network .This collaborative effort lets you and your programming team create C# programs much more quickly than one person alone. The problem with collaborating over a netwo
6、rk is that unauthorized users from within or outside your network may try to gain access to your C# program code.Visual Studio.NET provides built-in security features so you or the leader of your programming team can determine who on your network gets access to your C# program code and resources. Yo
7、u can also set different levels of security for different people in case you want only certain people to have access to certain program code.1.1.4 IntegrationThe primary advantage of using Visual Studio.NET is that all of the programming languages have been designed to work together from the start.
8、When you write a new C# program, Visual Studio.NET gives you tools that you can use to program links from your C# program into another program written in another Visual Studio.NET language.For example, you can create a database in Visual FoxPro and then create a C# program that links into the Visual
9、 FoxPro database. If you have written or acquired completed programs in a Visual Studio language such as Visual C+ or Visual Basic, you can include links from your C# program into those programs. The end result is seamless integrated functionality between programs.1.1.5 Differences Between C# and C+
10、Microsoft includes Visual C+ and C# in Visual Studio .NET. On the surface# has few differences from Visual C+. When you look carefully and start programming, you will notice that C# differs in several important respects from Visual C+:l C# has an alternate method of accessing the C+ initialization l
11、ist when constructing the base class.l A class can inherit implementation from only one base class.l You can call overridden base class members from derived classes.l C# has a different syntax for declaring C# arrays.l There are differences in several different types including bool, struct, and dele
12、gate.l The Main method is declared differently.l Support of the new ref and out method parameters that are used instead of pointers for passing parameters by reference.l New statements including switch and finally.l New operators including is and typeof.l Different functionality for some operators a
13、nd for overloading operators.1.1.6 DLLsThe advent of Windows brought dynamic link libraries (DLLs) to programmers. DLLs are small, independent programs that contain executable routines that programs can use to produce a certain result in Windows. For example, if a program needs to open a file, you c
14、an write your C# program that uses the code in the DLL to open the file. Using DLLs frees up your time to work on your program without having to reprogram the same code in your C# program over and over again.You can access DLLs from your C# program, and create DLLs in C# for your C# for your C# prog
15、ram to refer to when necessary. C# has full COM/Platform support, so you can integrate C# code with any programming language that can produce COM DLLs such as Visual C+.1.1.7 XMLExtensible Markup Language (XML) is a more powerful version of Hyper Text Markup Language (HTML), the standard Web page la
16、nguage. Visual Studio.NET and C# let you document your program using XML and then extract the XML code into a separate file.Visual Studio.NET supports XML so that you can integrate your C# programs with the World Wide Web. You can document your C# code using XML and then use XML for creating Web Ser
17、vices and Web controls that let you and your code interact with a Web site. For example, you may have an inventory system written in C# that interacts with the order-taking page on your companys Web Site.1.2 START VISUAL STUDIO.NETVisual Studio.NET contains a graphical programming environment called
18、 the Microsoft Development Environment (MDE). The MDE enables you to create programs in Visual C# and other Visual Studio.NET languages.When you start Visual Studo.Net, the MDE window appears with several windows within the MDE windows. In the largest area of the MDE window, which is called the pare
19、nt window, the Visual Studio Start page appears. The Start page lists any recent projects and provides two buttons so that you can open a project file or create a new project.The Start page lets you log into the Microsoft Developers Network (MSDN) Web site directly from the MDE, so you can receive t
20、he latest information from Microsoft about Visual Studio, get technical help from fellow Visual Studio users at Microsofts online forum, and search for information online.Visual Studio.NET also lets you create and change your profile so that can view windows, enter keyboard commands, and receive hel
21、p for the programming language in which you are working .For example , if you have used an older version of Visual Studio in the past and you prefer to use the old windows and keyboard commands, Visual Studio lets you use Visual Basic and C+ windows and menus.1.3 OPEN A NEW C# PROJECT After you star
22、t the MDE windows , you can open a new project .A project contains all the files related to your C# program. After you determine the type of C# program you want to write, Visual Studio creates all of the project files you need to start programming. Visual Studio contains programs. The MDE window let
23、s you create eight different projects so you can tailor your C# program to the needs of your program users. You can create three different application types, each with a different user interface. First, you can create a Windows application that has a graphical, form-based interface. You can create a
24、 console application with a characterbased interface. Finally, you can create a Web application that resides on a Web server and uses Web pages for its interface.You can create three types of programs that are not full-fledged but provide components that other programs can use. First ,you can create
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- C# 简介 毕业论文外文翻译 毕业论文 外文 翻译
限制150内