how to get the length of int list in c# code example Example: c# list length List<int> list = new List<int>() {7,5,1,4 };