stackoverflow list remove and add at bottom

CSharp · Console

/Program.cs

using System;
using System.Linq;
using System.Collections.Generic;
					
public class Program
{
	public static void Main()
	{
    List<int> list = new List<int>(new int[] { 0,1,2,3,4,5,6,7,8,9 });
	var selected  = new List<int>(new int[] { 0,1,2 });

    list = list.Except(selected).ToList();
	list.AddRange(selected);

	Console.WriteLine(string.Join(",", list));
	}
}
;