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 CS0177

The out parameter 'parameter' must be assigned to before control leaves the current method

A parameter marked with the out keyword was not assigned a value in the method body.

The following sample generates CS0177:

public class iii {
   public void f(out int i) {   // CS0177
   // uncomment the following line for a resolution
   //   i = 0;
   }

   public static void Main() {
   }
}