C# 及数据库的开发外文翻译中英文

上传人:枫** 文档编号:508524764 上传时间:2022-12-17 格式:DOC 页数:16 大小:118KB
返回 下载 相关 举报
C# 及数据库的开发外文翻译中英文_第1页
第1页 / 共16页
C# 及数据库的开发外文翻译中英文_第2页
第2页 / 共16页
C# 及数据库的开发外文翻译中英文_第3页
第3页 / 共16页
C# 及数据库的开发外文翻译中英文_第4页
第4页 / 共16页
C# 及数据库的开发外文翻译中英文_第5页
第5页 / 共16页
点击查看更多>>
资源描述

《C# 及数据库的开发外文翻译中英文》由会员分享,可在线阅读,更多相关《C# 及数据库的开发外文翻译中英文(16页珍藏版)》请在金锄头文库上搜索。

1、河北建筑工程学院毕业设计(论文)外文资料翻译 学院: 信息工程学院 专业: 计算机科学与技术 班级: 计111班 姓名: 张孟康 学号: 2011309124 外文出处:(C# and Database Development ) 指导教师评语:签字: 年 月 日1C# and Database development The Introduce of C#In one sense, C# can be seen as being the same thing to programming languages as .NET is to the Windows environment. Jus

2、t as Microsoft has been adding more and more features to Windows and the Windows API over the past decade ,Visual Basic and C+ have undergone expansion. Although Visual Basic and C+ have ended up as hugely powerful languages as a result of this, both languages also suffer form problems due to the le

3、gacies of how they have evolved.In the case of Visual Basic 6 and earlier, the main strength of the language was the fact that it was simple to understand and didnt make many programming tasks easy,largely hiding the details of the Windows API and the COM component infrastructure from the developer.

4、The downside to this was that Visual Basic was never truly object-oriented, so that large applications quickly become disorganized and hard to maintain .As well as this ,because Visual Basic s syntax was inherited from early versions of BASIC(which ,in turn, was designed to be intuitively simple for

5、 beginning programmers to understand,rather than to write large commercial applications), it didnt really lend itself to well-structured or object-oriented programs.C+,on the other and, has its roots in the ANSI C+ language definition. It isnt completely ANSI compliant for the simple reason that Mic

6、rosoft first wrote its C+ compiler before the ANSI definition had become official, but it comes close. Unfortunately, this has led to two problems.First, ANSI C+ has its roots in a decade-old state of technology, and this shows up in a lack of support for modern concepts(such as Unicode strings and

7、generating XML documentation), and in some archaic syntax structures designed for the compilers of yesteryear(such as the separation of declaration from definition of member functions).Second,Microsoft has been simultaneously trying to evolve C+ into a language that is designed for high-performance

8、tasks on Windows ,and in order to achieve that theyve been forced to add a huge number of Microsoft-specific keywords as well as various libraries to the language.The result is that on Windows ,the language has become a complete mess. Just ask C+ developers how many definitions for a string they can

9、 think of:char*,LPTSTR,string, CString(MFC version),CString(WTL version),vchar_t,OLECHAR*,and so on.Now enter.NET-a completely new environment that is going to involve new extensions to both languages .Microsoft has gotten around this by adding yet more Microsoft_specific keywords to C+,and by compl

10、etely revamping Visual Basic into Visual Basic .NET, a language that retains some of the basic VB syntax but that is so different in design that we can consider it to be, for all practical purposes , anew language.Its in this context that Microsoft has decided to give developers an alternative-a lan

11、guage designed specifically for .NET, and designed with a clean state .Visual C#.NET is the result . Officially, Microsoft describes C# as a”simple, modern, object-oriented, and type-safe programming language derived from C and C+.” Most independent observers would probably change that to “derived f

12、rom C,C+,and Java.” Such descriptions are technically accurate but do little to convey the beauty or elegance of the language. Syntactically,C# is very similar to both C+ and Java, to such an extent that many keywords are the same, and C# also shares the same block structure with braces ()to mark bl

13、ocks of code ,and semicolons to separate statements . The first impression of a piece of C# code is that it looks quite like C+,and of comparable difficulty to Java. Its design is more in tune with modern developer tools than both of those other languages , and it has been designed to give us ,simul

14、taneously,the ease of use of Visual Basic, and the high performance, low-level memory access of C+ if required .Some of the features of C# are:Full support for classes and object-oriented programming, including both interface and implementation inheritance, virtual functions, and operator overloadin

15、g.A consistent and well-defined set of basic types.Built-in support for automatic generation of XML documentation.Automatic cleanup of dynamically allocated memory.The facility to mark classes or methods with user-defined attributes. This can be useful for documentation and can have some effects on compilation (for example ,marking methods to be compiled only in debug builds).Full access to the .NET base class library, as well as easy access to the Windows API(if you really need it, w

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业/管理/HR > 营销创新

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号