diff options
| -rw-r--r-- | csharp.html.markdown | 22 | 
1 files changed, 22 insertions, 0 deletions
| diff --git a/csharp.html.markdown b/csharp.html.markdown index 78f9db34..963f38f4 100644 --- a/csharp.html.markdown +++ b/csharp.html.markdown @@ -1095,6 +1095,28 @@ namespace Learning.More.CSharp          }      }  } + +using System; +namespace Csharp7 +{ +	//New C# 7 Feature +	//Install Microsoft.Net.Compilers Latest from Nuget +	//Install System.ValueTuple Latest from Nuget +	class Program +	{ +		static void Main(string[] args) +		{ +			//Type 1 Declaration +			(string FirstName, string LastName) names1 = ("Peter", "Parker"); +			Console.WriteLine(names1.FirstName); + +			//Type 2 Declaration +			var names2 = (First:"Peter", Last:"Parker"); +			Console.WriteLine(names2.Last); +		} +	} +} +  ```  ## Topics Not Covered | 
