public static int Main() { Console.WriteLine("Test that StackTrace for OOM is proper if memory is available"); SharedExceptions test = new SharedExceptions(); test.RunTest(); Console.WriteLine(100 == test.retVal ? "Test Passed":"Test Failed"); return test.retVal; }
public static int Main() { Console.WriteLine("Test that StackTrace for OOM is proper if memory is available"); SharedExceptions test = new SharedExceptions(); test.RunTest(); Console.WriteLine(100 == test.retVal ? "Test Passed":"Test Failed"); return(test.retVal); }