# BankAccount.cs file (Class)

class BankAccount
    {
        public string Name { get; set; }
        public int Number { get; }
        public float Balance { get; set; }

        private static int AccountSeed = 1234567890;

        //Constructor
        public BankAccount(string name, float balance)
        {
            this.Name = name;
            this.Balance = balance;
            this.Number = AccountSeed;
            AccountSeed++;

        }

        public void MakeDeposit(decimal amount, DateTime date, string note)
        {

        }

        public void MakeWithdrawl(decimal amount, DateTime date, string note)
        {

        }
# Program.cs file (Class)

using System;

namespace OOP_Play
{
    class Program
    {
        static void Main(string[] args)
        {
            var account1 = new BankAccount("myName", 10000);
            var account2 = new BankAccount("name2", 5000);
  
            Console.WriteLine($"Account: {account1.Number} was created for {account1.Name} with: {account1.Balance}");
            Console.WriteLine($"Account: {account2.Number} was created for {account2.Name} with: {account2.Balance}");
        }
    }
}

Results
Account: 1234567890 was created for myName with: 10000
Account: 1234567891 was created for name2 with: 5000
Categories: C#