using System.Collections.Generic;
public static List<int> intList = new List<int> {1, 2, 3, 4};
public static void Main()
Console.WriteLine("Before: ");
Console.WriteLine("AddRange(emptyList): ");
var emptyList = new List<int>();
intList.AddRange(emptyList);
public static void Print() {
foreach (var x in intList)
Console.WriteLine($@" {x}");