Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New features in C# 7

Test suite of new features in C# 7

This repo contains a list of new features in C# 7. Examples are heavily influenced from StackOverflow documentation as well as this MSDN blog post.

Topics covered

Examples

Introduces object deconstruction, expression bodies and ValueTuples

class Person
{
	public string FirstName { get; set; }
	public string LastName { get; set; }
	public (string First, string Last) FullName => (FirstName, LastName);

	public void Deconstruct(out string first, out string last)
	{
		first = FirstName;
		last = LastName;
	}
}

About

Test suite that describes new features in C# 7

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.