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