title: Should I encapsulate Task in a Class?
body: <p>I'm building an application having multiple long running worker threads which need to be running 24x7. Each worker is a method in a class called <code>Bot</code>. Start/Stop of the <code>Bot</code> is controlled by the class itself. So if I need 10 bots running, I just need to instantiate 10 <code>Bot</code>, store in a <code>List&lt;Bot&gt;</code>, and start everyone of them. I also have a <code>BotManager</code> class to manage all the currently running <code>Bot</code></p>
  
  <p>Now, I wanted to use <code>Task</code> instead of <code>Thread</code> for each of the workers, as they're only spending less than 5% of the time doing any processing. </p>
  
  <p>Should I keep a <code>Task</code> in each class or should I inherit my <code>Bot</code> from <code>Task</code>?</p>