Monday, July 6, 2015

interpolated strings the new String.Format in Visual Studio 2015?

This was shared with the team by my boss today and it has this example in C#:

var s = $"hello, {name}";

Addendum 7/29/2015: name ...is a variable in this bit of C# 6.0.

No comments:

Post a Comment