没有入口点。程序不包含合适的 'Main' 方法

No entry point. Program does not contain a suitable 'Main' method

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CLASSES_2
{
    class Building
    {
        public int Area; // total square footage of building
        public int Floors; // number of floors
        public int Occupants; // number of occupants
    }
    class Building_Demo
    {
       static void main(string[] args)
        {
            Building house = new Building();
            int Area_Per_Person;

            house.Area = 4000;
            house.Floors = 7;
            house.Occupants = 10;

            Area_Per_Person = house.Area / house.Occupants;

            Console.WriteLine("The house has: \n" + house.Floors + " Floors \n" + house.Occupants + " Occupants"
                + house.Area + "Area \n" + Area_Per_Person + " Area_Per_Person: ");
        }
  }
}

有人可以告诉我我的代码有什么问题吗?它告诉我没有适合入口点的方法。

CS5001 Program does not contain a static 'Main' method suitable for an entry point.

方法名称区分大小写。该方法应该被称为 Main,大写 M,而不是 main,就像您目前拥有的那样:

static void Main(string[] args)