- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Lecture 39 Case Study C# and .NET.ppt
Lecture 39: Case Study: C# and .NET COMP 144 Programming Language Concepts Spring 2002 C# and .NET In 2000, Microsoft releases a new language, C#, heavily influences by Java and C++ Is there anything new from the programming languages point of view? Microsoft is making it the key stone in their new development strategy (.NET) Big bucks… big evil… Let’s have a brief look at it, so you can put it our resumes or simply laugh at Microsoft, depending on your point of view about the world I’m neutral (yeah, right…) Hello World Java C# Motivation for C# .NET New development framework that promises to simplify Windows programming COM/DCOM is hard to learn Heavy on component orientation Language independence run-time system Common Language Run-time (CLR) Common Language Runtime It can execute .NET program in an intermediate representation, the Common Language Interface (CLI) CLR is designed to work well in a multi-language environment Java Virtual Machines is rather Java-oriented CLR is supposed to work well with imperative programming languages (e.g., C, Pascal) and statically typed object oriented languages (e.g., C#, Eiffel) Many language have compilers for CLR at different stages of development, including Python, Perl, Scheme, Haskell, Prolog,… Motivation for C# Rapid application development (RAD) Visual development tools/languages such as Visual Basic and Delphi, are very popular and useful Remember Java Beans lecture C# is optimized for such development model Platform-independence CLR and CLI Access to platform-native resources A more direct approach than the one taken by Java Native Interface (JNI) C# SyntaxComparison with Java If/then/else C# Syntax Switch C# Syntax While Do/While C# Syntaxforeach C# Syntax Break/Continue Return C# Syntax Object instantiation Exclusive access C# Syntaxtry/catch/finally C# Syntax Class definition Interface definition Interface implementation Other C# Features C# provides Java-style garbage collection C# implements
您可能关注的文档
最近下载
- 论龟兹乐舞对中原乐舞的影响及作用.doc VIP
- CCT-D-CUF斯频德闭式冷却塔样本.pdf VIP
- 比较敦煌与龟兹壁画中舞蹈艺术的空间性和动作语言特征.docx VIP
- 2025福建福州市马尾区民政局招聘社会救助协管员2人笔试模拟试题及答案解析.docx VIP
- 2025福建福州市马尾区民政局招聘社会救助协管员2人考试备考题库及答案解析.docx VIP
- 2025福建福州市马尾区民政局招聘社会救助协管员2人笔试参考题库附答案解析.docx VIP
- 2025福建福州市马尾区民政局招聘社会救助协管员2人笔试备考题库及答案解析.docx VIP
- FuTURE论坛:2020 5G毫米波技术白皮书.pdf VIP
- 私法中的人_11309198.pdf VIP
- 龟兹壁画中的乐舞研究.pdf VIP
文档评论(0)