コード例 #1
0
        private async void button4_Click(object sender, EventArgs e)
        {
            List <Country> result
                = await repo.GetList();

            //Another using method for array
            Country[] resultArray
                = await repo.GetListSeries();

            //Another using method for array constrained :EG total 1 country list
            Country[] resultArrayLimit
                = await repo.GetListSeries(1);
        }