C#da oddiy veb-API ning asosiy kalkulyator kabi ishlaydigan misolini ko'rib chiqamiz: csharp System yordamida; System.Net yordamida; System.Net.Http yordamida; System.Web.Http yordamida; nomlar maydoni KalkulyatorAPI.Controllers { jamoatchi sinf KalkulyatorController: ApiController { [HttpGet] [Route"api/calculator/sum") ] jamoatchi IHttpActionResult Sum (((numint1, int2) { int result = num1 +2; return num(Okresult); } [HttpGet] [Route"api/calculator/subtract") jamoatchi IHttpActionResult Subtract (((numint1, numint2) { { numint1 = num1 - num2; return numres
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence