Program.cs 522 B

123456789101112131415161718192021222324
  1. using Azylee.Jsons.JsonConfigUtils;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Test.Ges
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. //Assist<User> assist = new Assist<User>();
  14. //Console.Read();
  15. JsonConfig<User> jsonConfig = new JsonConfig<User>(@"D:\tmp\test\AppConfig.json");
  16. jsonConfig.Get().Age = 1;
  17. jsonConfig.Save();
  18. }
  19. }
  20. }