Challenge: Async Loop Processing
Aufgabe
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
SimulateWebRequestAsyncmethod 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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 2
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Großartig!
Completion Rate verbessert auf 5.56
Challenge: Async Loop Processing
Swipe um das Menü anzuzeigen
Aufgabe
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
SimulateWebRequestAsyncmethod 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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 2
single