Dwayne Adams

Dwayne Adams

  • NA
  • 5
  • 886

Trying to use Namespace as a type

Dec 27 2015 11:30 AM
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)