What are the differences between C# 5.0 & C# 6.0?RKRam Kumar11yAsked Oct 1, 2015, 7:06 AM EDT5 answersShareLinkedInXCopy linkSave
What are the differences between C# 5.0 & C# 6.0?RKRam Kumar11yAsked Oct 1, 2015, 7:06 AM EDT5 answersShareLinkedInXCopy linkSave
Sujeet SumanRank #790 · 2.9K reputation11y agoPosted Oct 1, 2015, 7:22 AM EDT0Ran please once go through below link. This may help you to know the C# version wise difference: https://en.wikipedia.org/wiki/C_Sharp_(programming_language) If this is helpful for you then please accept my Answer. 0
Abhay ShankerRank #375 · 6.7K reputation11y agoPosted Oct 1, 2015, 4:34 PM EDT0https://msdn.microsoft.com/en-us/magazine/dn879355.aspx https://msdn.microsoft.com/en-us/library/hh156499.aspx http://www.codeproject.com/Articles/808732/Briefly-exploring-Csharp-new-features 0
Santhakumar MunuswamyRank #128 · 17.3K reputation11y agoPosted Oct 1, 2015, 6:09 PM EDT0Hi Ram Please kindly read the reference as below http://www.codeproject.com/Articles/880467/What-is-Cool-about-Csharp http://www.c-sharpcorner.com/Blogs/47104/evolution-of-C-Sharp.aspx https://en.wikipedia.org/wiki/C_Sharp_(programming_language) i hope it can help you 0
Francis SusaimichaelRank #466 · 5.4K reputation11y agoPosted Oct 1, 2015, 8:19 PM EDT0 Below are the some features available in C# 6.0: 1) Auto-property enhancementsInitializers for auto-propertiesGetter-only auto-properties2) Expression-bodied function membersExpression bodies on method-like membersExpression bodies on property-like function members3) Null-conditional operators4) String interpolation5) nameof expressions6) Index initializers7) Exception filters8) Await in catch and finally blocks9) Improved overload resolution For a more detailed explanation, i suggest you refer the below url: https://github.com/dotnet/roslyn/wiki/New-Language-Features-in-C%23-6Hope this helps a bit!0
Nilesh JadavRank #109 · 20.3K reputation11y agoPosted Oct 1, 2015, 11:17 PM EDT0C#6.0 Features: 1) Expression-level features 1.1) nameof expressions1.2) String interpolation1.3) Null-conditional operators1.4) Index initializers1.5) Extension Add methods2) Statement-level features2.1) Exception filters2.2) Await in catch and finally blocks3) Member declaration features3.1) Auto-property initializers3.2) Getter-only auto-properties3.3) Expression-bodied function members 3.4) Parameterless constructors in structsFeature of C# 5.0 1) Binding Operators2) Support for Dynamic to the Compiler3) Async Feature4) Caller Information5) Support for parametrized constructors in Generics.6) Support for WeakDelegate or WeakEvents7) Better treatment for Null8) Smart Case support9) Extension properties0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sujeet SumanRank #790 · 2.9K reputationPosted Oct 1, 2015, 7:22 AM EDT
Abhay ShankerRank #375 · 6.7K reputationPosted Oct 1, 2015, 4:34 PM EDT
Santhakumar MunuswamyRank #128 · 17.3K reputationPosted Oct 1, 2015, 6:09 PM EDT
Francis SusaimichaelRank #466 · 5.4K reputationPosted Oct 1, 2015, 8:19 PM EDT
2) Expression-bodied function members
3) Null-conditional operators
4) String interpolation
5) nameof expressions
6) Index initializers
7) Exception filters
8) Await in catch and finally blocks
9) Improved overload resolution
Nilesh JadavRank #109 · 20.3K reputationPosted Oct 1, 2015, 11:17 PM EDT
Feature of C# 5.0
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts