Программа ошибки cs5001 `a.out 'не содержит метод stati c` main', подходящий для точки входа - PullRequest
0 голосов
/ 04 мая 2020
using System;

namespace Функции
{
    class MainClass
    {
        public static void Main()
        {
            Print ("Hi!");
            int kys;
                kys = cry(7, 3);
            Print (kys);
        }

        private static void Print(string v)
        {
            throw new Exception();
        }

        public static void Print(int kys)
        {
            Console.WriteLine(kys);
        }

        public static int cry (int a, int b)  
        {
            int rip;
            rip = a + b;

            return rip; 
        }
    }
}

Я думаю, что добавил основной, поэтому я не знаю, что случилось

...