string directory = project.Directory + @"\extract";
string zipplace = project.Directory + @"\Test.zip";
string zipextract = project.Directory + @"\extract";
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
string startPath = directory;
string zipPath = zipplace;
string extractPath = zipextract;
ZipFile.CreateFromDirectory(startPath, zipPath);
ZipFile.ExtractToDirectory(zipPath, extractPath);
}
}
}