Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Async Loop Processing | Async Loops and Processing Collections
C# Async and Await Practice

bookChallenge: Async Loop Processing

Tarefa

Swipe to start coding

Write an async method that processes a list of web request URLs by awaiting each simulated request in sequence.

  • Await the SimulateWebRequestAsync method for each URL in the list.
  • After awaiting each result, assign the string "Processed: " plus the result to a variable.
  • The method must process each URL one after the other, not in parallel.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 2
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

Suggested prompts:

Can you explain this in simpler terms?

What are some examples related to this topic?

Where can I learn more about this?

close

bookChallenge: Async Loop Processing

Deslize para mostrar o menu

Tarefa

Swipe to start coding

Write an async method that processes a list of web request URLs by awaiting each simulated request in sequence.

  • Await the SimulateWebRequestAsync method for each URL in the list.
  • After awaiting each result, assign the string "Processed: " plus the result to a variable.
  • The method must process each URL one after the other, not in parallel.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 2
single

single

some-alt