protected void Button1_Click(object sender, EventArgs e)
{
string[] array = { "раз", "два", "три" };
System.IO.File.WriteAllLines("file.txt", array);
}
protected void Button2_Click(object sender, EventArgs e)
{
string[] array = System.IO.File.ReadAllLines("file.txt");
}