using System.Collections.Generic;
public static void Main()
IEnumerable<Comment> comments = new List<Comment>()
var filteredComments = comments.Where(x => x.Id == 41).Select(x => x.Text).ToArray();
Console.WriteLine(filteredComments.Length);
var delimittedStrings = string.Join(Environment.NewLine, filteredComments);
Console.WriteLine(delimittedStrings.Length);
Console.WriteLine(delimittedStrings);
public int Id { get; set; }
public string Text { get; set; }