The code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WFAAritmetikOperatorler
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
/*
* + Toplama
* - Çıkarma
* * Çarpma
* / Bölme
* % Mod Alma
*
* = : Sağdakini soldakine aktarır.
* = : Eşitlenebilir durumları birbirine eşitler.
*
* <sonuc> = <değer1> + <değer2>
*/
int sayi1 = 5;
int sayi2 = 2;
int tSonuc = sayi1 + sayi2;
int cSonuc = sayi1 - sayi2;
int crSonuc = sayi1 * sayi2;
int bSonuc = sayi1 / sayi2;
MessageBox.Show(tSonuc.ToString());
MessageBox.Show(cSonuc.ToString());
MessageBox.Show(crSonuc.ToString());
MessageBox.Show(bSonuc.ToString());
}
}
}
The Error Message From The Visual Studio:
Severity Code Description Project File Line Suppression State
Error Unable to copy file "obj\Debug\WFAAritmetikOperatorler.exe" to "bin\Debug\WFAAritmetikOperatorler.exe". Access to the path 'obj\Debug\WFAAritmetikOperatorler.exe' is denied. WFAAritmetikOperatorler
The Report From The Kaspersky Antivirus:
Olay: Nesne silindi
Kullanıcı: DESKTOP-EVCENE1\Shohzod
Kullanıcı tipi: Etkin kullanıcı
Uygulama adı: MSBuild.exe
Uygulama yolu: C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64
Bileşen: Dosya Antivirüsü
Sonuç açıklaması: Silindi
Tür: Truva atı
Ad: VHO:Trojan.MSIL.Convagent.gen
Doğruluk: Sezgisel analiz
Tehdit düzeyi: Yüksek
Nesne türü: Dosya
Nesne adı: WFAAritmetikOperatorler.exe
Nesne yolu: C:\Users\Shohzod\Desktop\Bilge Adam Eğitim\WFAAritmetikOperatorler\WFAAritmetikOperatorler\obj\Debug
MD5: 9B433773ED81293080C61CE22E4F0D6C