object reference

object reference

  

i am making a list variable of entity type. In preparation i am assing that variable output of an aggregate. My question is , if am making any changes to that local variable is that gonna reflect in that aggregate list also? 

Solution

Hi Lovish,

Lists are copied by reference, so the short answer is yes changes to the local variable will affect the Aggregate's output parameter, you should use ListDuplicate if you want to create a copy of that list. You can check here for the documentation on Lists.

Solution