UiPath

UiPath) Array / List

ReadingFlynn 2020. 5. 17. 10:30
  • Arrays : for defined sets of data (the months of the year, a predefined list of files in a folder)
  • List : better when the collection might require size changes.

Array

{ }

용량이 정해져 있는 데이터 집합(fixed-size)

List

포함된 객체들이 지정된 자리가 있다.(index)

Array와 달리 저장할 수 있는 데이터의 수가 정해져있지 않다.

생성자

Array or List에 아이템 추가

​1. activity를 이용하여 append 할 수 있다.

2. activity 이용 (Concat method)

arrayVar.Concat({item}).ToArray

​​

Array 또는 List의 내용 확인 - Writeline

String.Join(",", arrayVar)