Create ZIP from stream

Apr 5 at 6:57 PM
I have an .NET C# application which request some information from database and store records in a list structure.

public Class Record {

public string name { get; set; }
public string surname { get; set; }
}

List<Record> lst = new List<Record>();

I would like to iterate over this list and adding each record to the zip file. I do not want to create a txt file containing all these records (a record by line) and then once file saved on disk, create the zip file from that file, I mean, I do not want to create an intermediate file on disk in order to create the zip file from that.

How can I do this?