Advantage of CSharp

简介:   1.No pointers. 2.Garbage collector can manage automatically memory. 3.Class, interface, enumeration, structure and delegate has official grammar structure.

 

1.No pointers.

2.Garbage collector can manage automatically memory.

3.Class, interface, enumeration, structure and delegate has official grammar structure.

4.Overload operator.

5.Attribution:

.NET 2.0:

1.Generic type and member: (Using System.Collections.Generic;)

2.Anonymous method, provide inline function when need delegate types.

3.Predigestion of delegate/event model.

4.Partial keyword.

.NET 3.0:

1.Strongly typed query(LINQ).

2.Anonymous type.

3.The ability when using extending method to extend the current type function.

4.Contains Lambda operator(=>).

5.Contains new object initial grammar.

目录
打赏
0
0
0
0
20
分享
相关文章
|
10月前
|
VS2010 Csharp调用非托管Cpp生成的DLL文件
VS2010 Csharp调用非托管Cpp生成的DLL文件
54 0
Dart Hello World 示例程序【Dart专题1】
Dart Hello World 示例程序 Dart—你好世界 在本教程中,我们将编写一个非常基本的 Dart 程序。此示例程序打印Hello World到控制台。
137 0
Dart Hello World 示例程序【Dart专题1】
正则表达式-Csharp
原文:正则表达式-Csharp 学习笔记:正则表达式 一. 正则表达式 正则表达式(Regex)是用来进行文本处理的技术,是语言无关的,在几乎所有语言中都有实现。 一个正则表达式就是由普通的字符及特殊字符(称为元字符符)组成的文字模式。
2055 0