Computer Science Canada

Storing children class in Parent Class

Author:  mirhagk [ Sun Feb 06, 2011 2:38 pm ]
Post subject:  Storing children class in Parent Class

Is this possible/does these produce off side-effects
code:

abstract class ConditionPoll : TriggerCondition
{
      public class HealthCheck : ConditionPoll
     {
     }
}


I'm using C#, and this just seems like the cleanest way to organize my code. Putting all the children inside the abstract parent class makes it much simpler to organize.


: