Tommy
Tommy copied to clipboard
Unable to write all nodes inside an array or a table
using(StreamReader reader = File.OpenText("configuration.toml"))
{ TomlTable table = TOML.Parse(reader); foreach(TomlNode node in table["database"]["ports"]) Console.WriteLine(node); } There is a problem, CS0121: The call is ambiguous between the following methods or properties: 'Console.WriteLine(bool)' and 'Console.WriteLine(int)'