C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
14
Reply
Explain any three C# 6 New Features ?
Ankur Mistry
9y
4.8k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
http://www.codeproject.com/Articles/327916/C-Language-Features-From-C-to
pankaj singh
9y
2
(1) String interpolation by using symbol $ , (2) "Auto Property Initializer " which allows to initialize a property at declaration time E.g public string Country { get;} = "Country"; (3) Importing a class just like importing a namespace and consume each and every static member of the class directly in the code without a class name prefix again E.g. using static System.Console; class UsingStatic { static void Main() { WriteLine("Hello"); } }
Sandeep Singh
9y
1
1)Await in catch and finally blocks 2)Initializers for auto-properties 3)nameof expressions
Chetan Raiyani
9y
1
https://www.simple-talk.com/dotnet/.net-framework/whats-new-in-c-6/
Munesh Sharma
9y
1
For complete features of C# 6.0 please visit https://interview-preparation-for-you.blogspot.in/2017/02/c-60-features.html
Khaleek Ahmad
8y
0
For complete features of C# 6.0 please visit https://interview-preparation-for-you.blogspot.in/2017/02/c-60-features.html
Khaleek Ahmad
8y
0
For complete features of C# 6.0 please visit https://interview-preparation-for-you.blogspot.in/2017/02/c-60-features.html
Khaleek Ahmad
8y
0
Static Using Syntax, Auto-Property Initializers ,Dictionary Initializers ,String Interpolation ,nameOf Expression ,Exception Filters etc,.
Keerthi Venkatesan
9y
0
Exception Filters, String Format using $, Auto Property Intializer
Bhuvanesh Mohankumar
9y
0
1.You can create inline functions, Example: public int addNumbers(int a,int b) => a b; 2. You can declare static using, Example: using static System.Math; This would simplify the usage of Mathematical functions like Math.Pow(a,b). Instead of Math.Pow(a,b) you could use Pow(a,b) 3. It is now possible to declare the auto-properties, Example: public string FirstName { get; set; } = "Ervis";
Ervis Trupja
9y
0
Please refer to below link http://www.codeproject.com/Tips/1023426/Whats-New-in-Csharp
Vivek Kumar
9y
0
1. Auto property initializer 2. await in catch and finally block. 3. New way for Exception filters.
Anil Jha
9y
0
With C# 6, you can now add the using static qualifier and reference Example:using static System.Console;namespace CSharpSix {class Program{static void Main(string[] args){WriteLine("Hello World!");}} }
Amit Verma
9y
0
To explore new features in c#6 please refer to http://www.c-sharpcorner.com/UploadFile/201fc1/experimenting-with-C-Sharp-6s-new-features/
Anil Kumar Murmu
9y
0
Message