NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error CS1039

Unterminated string literal

The compiler detected an ill-formed string literal.

See section 2.5.9.5 of the C# Language Reference for a discussion of the various ways to declare string literals.

The following sample generates CS1039:

public class MyClass {
   public static void Main() {
      string b = @"hello, world;   // CS1039
   }
}

To resolve the error, add the terminating ".