ArrayList console application

ArrayList console application

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

namespace arrays
{
    class Program
    {
        static void Main(string[] args)
        {
            string name;
            int id;
            int num;
            ArrayList nameList = new ArrayList();
            ArrayList idList = new ArrayList();
            Console.WriteLine("how many students: ");
            num = int.Parse(Console.ReadLine());

            
            for (int i = 0; i < num; i++)
            {
                Console.WriteLine("enter name: ");
                name = Console.ReadLine();
                nameList.Add(name);
                Console.WriteLine("enter id: ");
                id = int.Parse(Console.ReadLine());
                idList.Add(id);
            }

            Console.WriteLine("#####STUDENTS INFORMATION#####");
            Console.WriteLine("Name\t\tId");
            for (int i = 0; i < num; i++)
            {
                Console.WriteLine(nameList[i].ToString() + "\t\t" + idList[i].ToString());
            }

            
            Console.WriteLine(Environment.NewLine+"Remove Student");
            Console.WriteLine("enter name: ");
            name = Console.ReadLine();
            nameList.Remove(name);
            Console.WriteLine("enter id: ");
            id = int.Parse(Console.ReadLine());
            idList.Remove(id);
            Console.WriteLine("student removed....");

            Console.WriteLine("#####STUDENTS INFORMATION#####");
            Console.WriteLine("Name\t\tId");
            for (int i = 0; i < nameList.Count; i++)
            {
                Console.WriteLine(nameList[i].ToString() + "\t\t" + idList[i].ToString());
            }
        }
    }
}

DOWNLOAD THE PROJECT