What is the & Symbol in VB?

c#, vb.net

Solution

The `&` operator in Visual Basic is used to concatenate strings. In C# the concatenation operator is `+` and so the direct translation is

string Arguments = path + @"\" + fs + ".freeze" + " ls";

Better in my view would be to use `Path.Combine`:

string Arguments = Path.Combine(path, fs + ".freeze") + " ls";

Problem

I have this VB code that I am converting for someone, but he didn't comment it, so what does it mean ``` Dim Arguments As String = path & "\" & fs & ".freeze" & " ls" ```

Original source