Files
JackCraft.Config/Test/Program.cs

24 lines
501 B
C#

using JackCraft.Config;
namespace Test;
internal static class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
var testClass = new TestClass
{
Test = "test",
Abc = 123
};
var config = new Config(new FileInfo("./config.json"));
var t = config.Get("aaa.www.aaa.ccc", "1");
}
}
public class TestClass
{
public string? Test { get; set; }
public int Abc { get; set; }
}