using System.Collections.Generic;
public static void Main()
var details = new List<Details>();
Console.WriteLine(details.All(x => !string.IsNullOrEmpty(x.Text)));
Console.WriteLine(details.All(x => !string.IsNullOrEmpty(x.Text)));
public string Text { get; set; }