0

Is there a way to evaluate c# interpolated strings when they are already stored inside a string variable? I'm guessing they are decompolsed at compile time so this is not possible, but just curious.

Brady Moritz
  • 8,624
  • 8
  • 66
  • 100
  • I think you are looking for a scanf function, check out this answer: https://stackoverflow.com/questions/472202/looking-for-c-sharp-equivalent-of-scanf – Popmedic Jul 09 '18 at 23:07
  • Dynamic compilation might be an option if you're not too concerned about performance: https://stackoverflow.com/a/51255291/1149773 – Douglas Jul 09 '18 at 23:27

0 Answers0