using System.Collections.Generic;
public static void Main()
Console.WriteLine("Hello World");
var numbers = new List<int>();
using (StreamReader reader = File.OpenText("numbers.txt"))
while ((line = reader.ReadLine()) is not null)
if (int.TryParse(line, out int number))