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

找不到匯入的專案  請確認 <Import> 宣告中的路徑正確,而且檔案存在於磁碟上。

【Problem】  C:\inetpub\wwwroot\project\project.csproj : error  : 找不到匯入的專案 "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\W...