var fb = new List<int> {1, 1};for (int i=0; i<10; i++) { fb.Add(fb[i]+fb[i+1]);}foreach(var n in fb) { var sep="; "; if (n==fb[fb.Count-1]) { sep=""; } Console.Write($"{n}{sep}");}