Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Async Calculation | Async/Await Fundamentals and Converting Sync to Async
C# Async and Await Practice

bookChallenge: Async Calculation

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 4
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 Calculation

Desliza para mostrar el menú

Tarea

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.

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 1. Capítulo 4
single

single

some-alt