title: C# Stop a class from serializing
body: <p>I need to stop a class from getting serialized if it is in a collection, since I don't have control over the parent class property that is returning the collection. Without implementing ISerializable is there any solution?</p>
  
  <pre><code>public class NonControllable{
      Collection children;
  }
  
  public class MyClass : NonControllable {
      // NEED TO STOP Serializing children property.
  }
  </code></pre>