Here is a basic example in c#.
string sTemplate = "* {{greeting}} {{subject}}!";The Render class has different methods for different inputs and outputs, such as FileToFile and FileToString.
Dictionary<string, string> testData = new Dictionary<string,string>();
testData["greeting"] = "Hello";
testData["subject"] = "world";
Console.Out.WriteLine(Nustache.Core.Render.StringToString(sTemplate, testData));
This is the output produced:
* Hello world!