Console.WriteLine("Substring: {0}", substring)
Same as
Console.WriteLine("Substring: " & substring)
When using Console.WriteLine , {n} inserts the argument n th into the string and then writes it.
A more complex example can be seen here:
Console.WriteLine("{0} {1}{2}", "Stack", "Over", "flow")
He will print Stack Overflow .
source share