C# 读取和使用 yaml
using System; using System.IO; using YamlDotNet.Serialization; namespace Test { public class Test { static void Main() { // 读取 string str = File.ReadAllText("cat.yaml"); Animal cat = new...
more...