What am I doing wrong with string interpolation in c#?
问题 What I am doing: I am trying to build a dictionary in one function ( DictionaryBuilder ), extract a string from said dictionary and apply variables to it in another function ( QuestionGenerator ). Thus each time QuestionBuilder is called, the same string will be returned with differing contents without having to remake the same dictionary repeatedly. int a; int b; string theQuestion; string theAnswer; Dictionary<string, string> questionDict = new Dictionary<string, string>(); void