4
Answers

Trying to use Namespace as a type

Dwayne Adams

Dwayne Adams

8y
395
1
I keep getting an error on the line I have highlighted. It tells me that I am trying to use a Namespace as a Type. Can anyone help?
 
 

private void btnExtract_Click(object sender, EventArgs e)

{

try

{

_Separator = tbSeparator.Text.Trim();

Extract Extract = new Extract { URL = tbURL.Text };

Extract.OnCompletion += new Extract.Completion(Extract_OnCompletion);

Thread thread = new Thread(new ThreadStart(Extract.Start));

thread.Start();

btnExtract.Enabled = false;

}

catch (Exception ex)

{

MessageBox.Show(ex.Message);

}

}

Answers (4)