What's New in Visual C# .NET 2003[Visual Studio .NET 2003]

What's New in Visual C# 2005

What's New in Visual C# 2008

What's New in Visual C# 2010

What's New for Visual C# in Visual Studio 2012

What's New for Visual C# 2015

=== ================================================================================================================================================

Evolution of C# (1.0 – 5.0) – What are the New Features Introduced in C#

C# is not new to us. We are using it since Visual Studio 2002. Currently it is in released version 4.0 and C# 5.0 is on the way to release with Visual Studio 2012. Though we are using it since a long time, but many of us don’t know the new features that has been introduced in each new release.

This post will cover the “Evolution of C#” from version 1.0 to version 5.0 along with the new features and respective Visual Studio version. Bookmark this post for future reference and share it to your network and help others to know.

C# 1.0

Microsoft released the first version of C# with Visual Studio 2002. Use of Managed Code was introduced with this version. C# 1.0 was the first language that developer adopted to build .NET applications.

C# 2.0

Microsoft released the second version of C# language with Visual Studio 2005. C# 2.0 has three new features introduced in this edition which helped the developers to code their applications in more generic way. Here are the new features that was introduced with C# 2.0:

    1. Generics
    2. Anonymous Methods
    3. Nullable Type
    4. Partial Class
    5. Covariance and Contra-variance

C# 3.0

Visual Studio 2008 came with C# version 3.0 and it has a bunch of new features. It was the life changing language for Microsoft platform developers to build their applications. Till now, many developers are still using this version to build their apps. Here are the new features that came with C# 3.0:

    1. Lambda Expression
    2. Extension Method
    3. Expression Tree
    4. Anonymous Types
    5. LINQ
    6. Implicit Type (var)

C# 4.0

Though C# 4.0 was released with Visual Studio 2010 with .NET Framework 4, but very few developers uses it’s new features till date. Keep in mind that, it is the latest release version. Here is a list of new features of C# that came with this version:

    1. Late Binding
    2. Named Arguments
    3. Optional Parameters
    4. More COM Support

C# 5.0

Visual Studio 2012 is coming up with C# 5.0 and it will be available within next few months in 2012. The release candidate (RC) version is available for you to try out the new features. Here are two new features that is coming up with C# 5.0:

    1. Async Feature
    2. Caller Information

Infographic of C# Evolution

Here is the infographic of “Evolution of C#” and the new features introduced in different releases of C# and Visual Studio IDE, which you can bookmark for your future reference:

Don’t forget to share this post in your network, friends and colleagues. Help them to keep this bookmarked for their future reference too.

Last but not least, connect with me on Twitter and Facebook for technical updates and articles news. Also subscribe to my blog’sNewsletter to get all the updates delivered directly to your inbox. We won’t spam or share your email address as we respect your privacy.

=================================================================================================================================================

List of new features in C#2.0, 3.0 and 4.0

Complete plug for my own book, but hopefully not gratuitous: get hold of the early access version of the second edition of C# in Depth. It skips C# 1, but goes into detail on every feature of C# 2, 3 and 4.

If you just want a list of features though, from appendix C:

C# 2.0:

The major features of C# 2 were generics, nullable types, anonymous methods and other delegate-related enhancements and iterator blocks. Additionally, several smaller features were introduced: partial types, static classes, properties with different access modifiers for getters and setters, namespace aliases, pragma directives and fixed-sized buffers.

C# 3.0:

C# 3 primarily built towards LINQ, although many features are useful elsewhere. Automatic properties, implicit typing of arrays and local variables, object and collection initializers and anonymous types are all covered in chapter XREF ch8 . Lambda expressions and expression trees extended the delegate-related progress made in version 2.0, and extension methods provided the last ingredient for query expressions. Partial methods were only added in C# 3, although partial types themselves were in C# 2. As Marc points out in the comments, generic type inference received a considerable boost in C# 3.

C# 4.0:

C# 4.0 has some features aimed at interoperability, but doesn't have the same single-mindedness of C# 3.0. Again there's a reasonably clear divide between the "small" features (named arguments, optional parameters, better COM interop, generic variance) and the huge feature of dynamic typing.

I've got a "bluffers guide" for C# 2 and another for C# 3, but I haven't done the equivalent for C# 4 yet I'm afraid.

最新文章

  1. 让ASP.NET5在Jexus上飞呀飞
  2. iOS 之 退出app(项目)的几种方法
  3. Android 轻松实现仿淘宝地区选择
  4. cocos2d-x打飞机实例总结
  5. [2015.02.02]文本编码转换专家 v2.6
  6. ArcGIS Server开发教程系列(8)ArcGIS API for Javascript-控件(小部件)(续)纯代码
  7. Calender的使用详解
  8. vmware装redhat该光盘无法被挂载
  9. shorter concat [reverse longer]
  10. 使用ViewPager实现三个fragment切换
  11. Stream 基础和常用
  12. 华为手机APK 汉语译名
  13. Hibernate基础学习(七)—检索方式
  14. mybatis的generator中xml配置问题
  15. vue 组件开发、vue自动化工具、axios使用与router的使用(3)
  16. Difference between BeanFactory and FactoryBean in Spring Framework (Spring BeanFactory与Factory区别)
  17. webform-AJAX
  18. 初识Telerik for AJAX
  19. char/varchar/nvarchar的区别
  20. Linux 标准目录结构 FHS

热门文章

  1. linux find 反转 查找没有被找到的结果
  2. OWIN and Katana - 1
  3. javassist动态修改class
  4. linux 学习笔记2
  5. 51nod1265四点共面
  6. spark 1.3.0下的问题
  7. having count(*) > 1
  8. 【BZOJ 1003】 [ZJOI2006]物流运输trans
  9. linux grep、find 命令详解
  10. struts2+hibernate-jpa+Spring+maven 整合(2)