My app needs to allow the user to input and save a generic parameterised string.
What is the best way to do this in .NET?
Currently I allow the user to input a string with pre-defined "parameters" into a textbox.
eg. "Hi %%Name%%, please pick up your order number %%Order%%."
This generic string is then stored and then populated with real data as and when needed. The population is done simply by a series of these type of statements:
Str1.Replace("%%Name%%", data.Name)
Str1.Replace("%%Order%%", data.Order)