title: vb.net class MustInherit Interface
body: <p>I'm working in VB.Net.</p>
  
  <p>I have several <code>X</code> objects.  Every one of them needs to have the <code>Y</code> function, so I need to choose <code>Interface</code> or <code>MustInherit</code>.  I also need to have a <code>Z</code> function exactly the same for each object.  This function is used only by the object's abstracted/implemented methods, like a printout for that kind of object.</p>
  
  <p>What's the best way to do this?</p>