HttpWebRequest myHttpWebRequest=(HttpWebRequest)WebRequest.Create("http://www.contoso.com");
myHttpWebRequest.AddRange(50,150);
private void button1_Click(object sender, EventArgs e)
{
List<string> lstTest = new List<string>();
var thread = new Thread(Start);
thread.Start(lstTest);
}
private void Start(object obj)
{
List<string> lstTest = (List<string>)obj;
int count = lstTest.Count();
}