Has anyone figured out how to reuse an interpolated string?
I.e. can anyone figure out how to do away with the string.Format
in the following block of code?
foreach(var s in new[]{ "Primary_{0}_Home", "Secondary_{0}_Work" }){
sql = $"SELECT {string.format(s, "Street")}, {string.format(s, "City")} ..."
}