Exemplo n.º 1
0
    static void Main()
    {
        ImplClass c = new ImplClass();

        c.Add(10, 20); c.Sub(20, 10);
        c.Mul(12, 12); c.Div(24, 12);
        Console.ReadLine();
    }
Exemplo n.º 2
0
        public async Task ImplementedAbstractMethodDoesNotThrow()
        {
            // Arrange
            var instance = new ImplClass();

            // Act
            Exception exception = null;

            try
            {
                await instance.Method();
            }
            catch (Exception ex)
            {
                exception = ex;
            }

            // Act
            var est = new EnhancedStackTrace(exception);
        }