Based on Matt's answer. This is a complete bust.
I suggest doing something like this and making sure the test passes. MSTest is not the best library for testing, but it is a "Standard" :)
[TestClass()] public class FinalClauseTester { private TestContext testContextInstance; public TestContext TestContext { get { return testContextInstance; } set { testContextInstance = value; } } [TestMethod] [DeploymentItem(@"Something right goes here.")] [DataSource("Something else goes here", "row", somethingOtherSetupCrap)] public void TestFinalClause() { string[] allStrings = {"1", "2", "3", "4", "5"}; int yesCount = 0; foreach(string s in allStrings) { try {
Hamish grubijan
source share