You can share data between test methods using static members.
For example:
private static List<string> SharedValues = new List<string>();
[TestMethod]
public void TestMethod1()
{
SharedValues.Add("Awesome!");
}
[TestMethod]
public void TestMethod2()
{
SharedValues.Add("Thanks for the answer!");
}
[TestMethod]
public void TestMethod3()
{
Assert.IsTrue(SharedValues.Contains("Awesome!"));
Assert.IsTrue(SharedValues.Contains("Thanks for the answer!"));
}
Copy this code and create a new ordered test, testing TestMethod1,TestMethod2,TestMethod3. It'll pass!