d1 is acting in general like a local variable. But your question is valid as in the statement from above d1 is not defined and is maybe a typo. We would recommend to rename dt to d1.
[HowTo] LINQ (VB.Net) Learning Catalogue - Help / Something Else - UiPath Community Forum