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 CS0153

A goto case is only valid inside a switch statement

An attempt was made to use switch syntax outside of a switch statement.

The following sample generates CS0153:

public class a 
{
   public static void Main() 
   {
      goto case 5;   // CS0153
   }
}