Answers for "how get last 10 row in list c#"

C#
10

c# get the last item in a list

var lastItem = integerList.Last();
Posted by: Guest on March-24-2020
0

get first and last item list c#

List<string> _ids = new List<string>() { "aaa", "bbb", "ccc", "ddd" };
var first = _ids[0]; //first element
var last = _ids[_ids.Count - 1]; //last element
Posted by: Guest on April-23-2020

C# Answers by Framework

Browse Popular Code Answers by Language