find the lengrth of a list in c# code example Example: get list length c# public List<int> values; public int listLength; listLength = values.Count;