在uipath中,arr.count与arr.length返回的值似乎是一样的,请问二者有何区别?以及为什么只存在list.count的用法,不存在list.length的用法

arr.Length is using a property returning the number of items from the array
arr.Count is offering a LINQ extension method:

  • when not more specified, then it is returning as same as Length
  • when specified e.g with a Lambda, then it is returning the calculated count

list.Count - a property of the List class
list.Count() is same as described above for the extension
list.length - as there is no length property defined by the list datatype, so we cannot use

[HowTo] LINQ (VB.Net) Learning Catalogue - Help / Something Else - UiPath Community Forum