Пример #1
0
        public void ExecutionIsDeferred()
        {
            IEnumerable source = new ThrowingEnumerable();

            // No exception
            source.OfType <string>();
        }
Пример #2
0
 public void ExecutionIsDeferred()
 {
     IEnumerable source = new ThrowingEnumerable();
     // No exception
     source.OfType<string>();
 }