[Solved] How to replace tokens on a string template? [closed]

Short answer I think it would be best to use a Regex. var result = Regex.Replace(str, @”{{(?<Name>[^}]+)}}”, m => { return m.Groups[“Name”].Value; // Date, Time }); On c#-6.0 you can use: string result = $”Time: {DateTime.Now}”; String.Format & IFormattable However, there is a method for that already. Documentation. String.Format(“The current Date is: {0}, the time … Read more

[Solved] language for creating contract template [closed]

This question is probably going to get locked due to it being too broad, but if you are in BI you might want to consider something like Microsoft Lightswitch (http://blogs.msdn.com/b/bethmassi/archive/2011/12/01/beginning-lightswitch-getting-started.aspx). It makes it pretty easy to build form centered interfaces which sounds like what you are trying to do. 1 solved language for creating contract … Read more