This above expression is wrong i think so @nithaS
You can try with
String.Join(“,”,ListVariables)
Regards Gokul