SyntaxFix
Write A Post
Hire A Developer
Questions
You can use List<T>.RemoveAt method:
List<T>.RemoveAt
rows.RemoveAt(rows.Count -1);