// Statistici ... private void NrNumeCititori_Click(object sender, EventArgs e) { DateTime startData = new DateTime(2018, 2, 4); DateTime stopData = new DateTime(2018, 3, 24); var ctx = service.GetAllReadersByPeriodTime(startData, stopData); string content = "Nr de Cititor intr-o perioada de timp\n"; content += "Nr Cititor: " + ctx.LongCount() + "\n"; for (int index = 0; index < ctx.LongCount(); index++) { content += "\tNume Cititor " + (index + 1) + ": " + ctx[index] + "\n"; } MessageBox((IntPtr)0, content, "Message Box", 0); }