2

I am trying make little project for pratice in c#. but when ı am Start the code ı getting MSB3026 eror in visual studio console. Can you help me please :(. Sorry for the Turkish sentences. `

        İşlem tp = new İşlem();

        Console.WriteLine("İşlem yapmak istediğiniz 2 sayıyı Giriniz");
        Console.WriteLine("-------------------------------------------");

        tp.Four(Convert.ToInt32(Console.ReadLine()),Convert.ToInt32(Console.ReadLine()));


    }
}

//And my Class :

{

    public int Four(int s1, int s2)
    {
        int s3 = s1 + s2;
        Console.WriteLine("Toplama İşlemi Sonucu: " + s3.ToString());
        return s3;
    }

}

`

Speral
  • 21
  • 3

0 Answers0