Skip to content

Unable to write all nodes inside an array or a table #39

@vrmvgf

Description

@vrmvgf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions