public sealed class Program
public static void Main()
var nodeOf = Nodes.NewFactory();
var codeFragment = nodeOf.Pre.AddAttributes(("lang", "csharp"))
.Add("var list = new List<string>();");
var result = codeFragment.ToString();
Console.WriteLine(result);