コード例 #1
0
        public static async Task Main(string[] args)
        {
            _potatoService = new PotatoService();
            var potatoCount = await _potatoService.GetPotatoCount();

            Console.WriteLine($"There are {potatoCount} potatoes today");
        }
コード例 #2
0
ファイル: UnitTest1.cs プロジェクト: LiamHamer/Teamcitytest
 public UnitTest1()
 {
     _potatoService = new PotatoService();
 }