Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
C#2.0 to 5.0
BLACKIE
2015/3/6
AGENDA
C#2 to C#5 Quick Intro
My favorite C#2 to C#5
.NET Framework versions
 1.0 - released in 2002
 1.1 - released in 2003
 2.0 - released in 2005, with a new CLR (to han...
C# language versions
 C# 1
 C# 2, introducing generics, nullable types, anonymous
methods, iterator blocks and some othe...
Visual Studio versions
 VS.NET 2002 - support for C# 1 and .NET 1.0
 VS.NET 2003 - support for C# 1 and .NET 1.1
 VS 20...
C# 3.0
 Automatic properties
 Anonymous Types
C#3.0
 Extension methods
http://www.dotblogs.com.tw/larrynung/archive/2009/07/26/
9682.aspx
 Lambda Expressions
 Linq&P...
C#4.0
 Late Binding(Dynamic Lookup)
http://www.dotblogs.com.tw/larrynung/archive/2009/08/05/
9861.aspx
 Optional Paramet...
C#4.0
 Named Parameters
C#5.0
 async and await
C#5.0
 Caller Information
C#5.0
 Caller Information
Reference
 http://csharpindepth.com/articles/chapter1/versions.aspx
 http://www.kunal-chowdhury.com/2012/07/evolution-of...
C# 2 to 5 short Introduction
Upcoming SlideShare
Loading in …5
×

C# 2 to 5 short Introduction

309 views

Published on

Introduce .Net C# 2 to C#5 difference and favorite features that I loved.

Published in: Software
  • clearly and simply, nice sharing
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

C# 2 to 5 short Introduction

  1. 1. C#2.0 to 5.0 BLACKIE 2015/3/6
  2. 2. AGENDA C#2 to C#5 Quick Intro My favorite C#2 to C#5
  3. 3. .NET Framework versions  1.0 - released in 2002  1.1 - released in 2003  2.0 - released in 2005, with a new CLR (to handle generics and nullable types) and compilers for C# 2 and VB 8.  3.0 - released in 2006, this is just 2.0 plus new libraries: Windows Presentation Foundation, Windows Communication Foundation, Workflow Foundation, and Cardspace  3.5 - released in 2007, this is 3.0 plus new libraries (primarily LINQ and some extra "base" libraries such as TimeZoneInfo) and new compilers (for C# 3 and VB 9)  4 - released in 2010, this includes a new CLR (v4), new libraries, and the DLR (Dynamic Language Runtime)  4.5 - released in 2012, this allows for WinRT development on Windows 8 as well as extra libraries - with much wider async APIs
  4. 4. C# language versions  C# 1  C# 2, introducing generics, nullable types, anonymous methods, iterator blocks and some other more minor features  C# 3, introducing implicit typing, object and collection initializers, anonymous types, automatic properties, lambda expressions, extension methods, query expressions and some other minor features  C# 4, introducing dynamic typing, optional parameters, named arguments, and generic variance  C# 5, introducing asynchronous functions, caller info attributes, and a tweak to foreach iteration variable capture
  5. 5. Visual Studio versions  VS.NET 2002 - support for C# 1 and .NET 1.0  VS.NET 2003 - support for C# 1 and .NET 1.1  VS 2005 - support for C# 2 and .NET 2.0, and .NET 3.0 with an extension  VS 2008 - support for C# 3 and .NET 2.0, 3.0 and 3.5 (multi-targeting)  VS 2010 - support for C# 4 and .NET 2.0, 3.0, 3.5 and 4  VS 2012 - support for C# 5 and .NET 2.0 to 4.5 (including WinRT on Windows 8), and portable class libraries
  6. 6. C# 3.0  Automatic properties  Anonymous Types
  7. 7. C#3.0  Extension methods http://www.dotblogs.com.tw/larrynung/archive/2009/07/26/ 9682.aspx  Lambda Expressions  Linq&Plinq http://www.dotblogs.com.tw/nobel12/archive/2011/03/14/2 1828.aspx
  8. 8. C#4.0  Late Binding(Dynamic Lookup) http://www.dotblogs.com.tw/larrynung/archive/2009/08/05/ 9861.aspx  Optional Parameters
  9. 9. C#4.0  Named Parameters
  10. 10. C#5.0  async and await
  11. 11. C#5.0  Caller Information
  12. 12. C#5.0  Caller Information
  13. 13. Reference  http://csharpindepth.com/articles/chapter1/versions.aspx  http://www.kunal-chowdhury.com/2012/07/evolution-of-c- 10-50-what-are-new.html  http://www.danielmoth.com/Blog/Top-10-Things-To-Know- About-Visual-Studio-2008-And-NET-Framework-35.aspx  http://www.codeproject.com/KB/cs/CSharp4Features.aspx?m sg=3110596  http://www.codeproject.com/Articles/599756/Five-Great- NET-Framework-Features  http://www.dotnetcurry.com/showarticle.aspx?ID=972

×