var pattern = getPattern(); //read from the config, something like "{x} abc {y}"
var x = $pattern; //not compiling
Is there a way to convert a pattern in string Interpolated string?
var pattern = getPattern(); //read from the config, something like "{x} abc {y}"
var x = $pattern; //not compiling
Is there a way to convert a pattern in string Interpolated string?