Challenge: Async Calculation
Tehtävä
Swipe to start coding
Implement an asynchronous method that calculates the sum of two integers after a simulated delay and returns the result as a Task of int.
- The method must perform an asynchronous delay before calculating the sum.
- The method must return the sum of the two provided integer parameters as a Task of int.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 4
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Mahtavaa!
Completion arvosana parantunut arvoon 5.56
Challenge: Async Calculation
Pyyhkäise näyttääksesi valikon
Tehtävä
Swipe to start coding
Implement an asynchronous method that calculates the sum of two integers after a simulated delay and returns the result as a Task of int.
- The method must perform an asynchronous delay before calculating the sum.
- The method must return the sum of the two provided integer parameters as a Task of int.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 4
single