title: Using MS Test ClassInitialize() and TestInitialize() in VS2010 as opposed to NUnit
body: <p>I've used NUnit with VS2008, and now am adapting to MSTest on VS2010.  I used to be able to create an object in TestSetup() and dispose of it in TestCleanup(), and have the object created each time a test method was run in NUnit, preventing me from duplicating the code in each test method.</p>
  
  <p>Is this not possible with MSTest?  The examples I am finding using the ClassInitialize and ClassCleanup and TestInitialize and TestCleanup attributes only show how to write to the console.  None show any more detailed use of these attributes. </p>