• Saves Valuable Time
  • Trusted Accuracy for 12 Years
  • 15-Day Money-Back Guarantee

VB Equivalent to C# Verbatim Strings

C# VB
string s = @"multiline
    verbatim
    string";
'VB 2015 or higher:
Dim s As String = "multiline
    verbatim
    string"

'prior to VB 2015:
Dim s As String = "multiline" & vbCrLf & _
    " verbatim" & vbCrLf & _
    " string"


Use Instant VB to convert from C# to VB.NET.     

Additional resource: VB.NET and C# Equivalents


Copyright © 1997 – 2017 Tangible Software Solutions Inc.