Failing to set a default value to a List of String

Hi,

Which language do you use, VB or C#? Your expression seems it mixed.

VB (VB doesn’t support @ and need to use vbcrlf as linebreak)

New List(Of String)From{"ABC"+vbcrLF+"DEF"+vbcrlf+"GHI"}

C#

new List<string>(){@"ABC
DEF
GHI"}

Regards,

2 Likes