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 CS0186

Use of null is not valid in this context

Casting null is not valid.

The following sample generates CS0186:

using System;
class MyClass {
   public static void Main(){
      ((Object) null) is string;   // CS0186, cannot cast null
   }
}