Tommy icon indicating copy to clipboard operation
Tommy copied to clipboard

Unable to write all nodes inside an array or a table

Open vrmvgf opened this issue 1 year ago • 1 comments

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)'

vrmvgf avatar May 18 '23 11:05 vrmvgf