Friday, 18 January 2019

C# List 取前幾筆、List資料合併

C# List 取前幾筆



取List前二筆資料
HotelDataCollection.GetRange(0,2)

List資料合併
hotelData.AddRange(HotelDataCollection.GetRange(2, HotelDataCollection.Count()-2)

No comments:

Post a Comment

IIS HTTP Error 403.18

 HTTP Error 403.18 - Forbidden The specified request cannot be processed in the application pool that is configured for this resource on the...