We help IT Professionals succeed at work.

C# String function

Hi, following code is not working VS 2012, it's working on the 2015,
How to work this in the Visual studio 2012
 var query = $"start={startDate.ToUniversalTime():s}&end={endDate.ToUniversalTime():s}";
                var response = await client.GetAsync($"/public/{Version}/jobs?{query}");
Comment
Watch Question

Most Valuable Expert 2011
Top Expert 2015
Commented:
String interpolation was introduced in C# 6, which is available in VS 2015.

https://github.com/dotnet/roslyn/wiki/New-Language-Features-in-C%23-6

Author

Commented:
Thanks