using System.Collections.Generic;
public static void Main()
var names = new List<string>();
int maxNamesInOutput = 3;
Console.WriteLine("Enter a name, or press ENTER to stop:");
inputName = Console.ReadLine();
if (string.IsNullOrWhiteSpace(inputName))
Console.WriteLine("Not a single soul liked your post, you pathetic piece of shite :D");
var sb = new StringBuilder();
foreach(string name in names)
if(counter == maxNamesInOutput)
if(counter == maxNamesInOutput)
sb.Append(" and " + (names.Count - maxNamesInOutput) + " other(s) like your post.");
sb.Append(" liked your post");
Console.WriteLine(sb.ToString());