Compiler limit exceeded: Line cannot exceed 2046 characters

I have a long array, how can I get by this error?
LVL 1
JPERKS1985Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Gary DavisConnect With a Mentor Dir Internet SvcsCommented:
Break the line like this (C# version):

string longString = "some text some text some text some text " +
"some text some text some text some text " +
"some text some text some text some text " +
"some text some text some text some text ";


Gary Davis
0
All Courses

From novice to tech pro — start learning today.