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

bookChallenge: Async Loop Processing

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 2
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

close

bookChallenge: Async Loop Processing

Desliza para mostrar el menú

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 2
single

single

some-alt