subject

I keep getting this error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations. On the line of code (using System;) I highlighted in bold to tell the difference. this is a c# programming course I just started. I appreciate the help.
using System;
using align;
class Grades {
public static void Main(string[] args) {
const float MIDTERM_PERCENTAGE = .25F;
const float FINALEXAM_PERCENTAGE = .25F;
const float RESEARCH_PERCENTAGE = .30F;
const float PRESENTATION_PERCENTAGE = .20F;
int midterm = 70;
int finalExamGrade = 80;
int research = 90;
int presentation = 100;
float finalNumericGrade = 0;
finalNumericGrade =
(midterm * MIDTERM_PERCENTAGE) +
(finalExamGrade * FINALEXAM_PERCENTAGE) +
(research * RESEARCH_PERCENTAGE) +
(presentation * PRESENTATION_PERCENTAGE);
align. xyz abc = new align. xyz();
abc. disp("Midterm grade is : " + midterm);
abc. disp("Final Exam grade is : " + finalExamGrade);
abc. disp("Research grade is : " + research);
abc. disp("Presentation grade is: " + presentation);
abc. disp("\nThe final grade is: " + finalNumericGrade);
}
}
using System;
namespace align
{
class xyz
{
public void disp(string str)
{
Console. WriteLine(str);
}
}
}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 16:00
To fill (copy) a cell across or down, point to the of the cell and drag. top left corner top right corner bottom left corner bottom right corner
Answers: 3
question
Computers and Technology, 25.06.2019 08:10
Which of the following is an example of an input device? a barcode readeran organic light-emitting diodean inkjet printera cathode ray tube
Answers: 1
question
Computers and Technology, 25.06.2019 09:00
(environmental science semester 1) which statement best describes the limits of science? a. science cannot answer any abstract questions. b. when used properly, science can answer any questions. c. usually science can answer only mathematical questions. d. science cannot answer religious questions.
Answers: 2
question
Computers and Technology, 25.06.2019 09:30
Is it possible to build a portal in real life?
Answers: 2
You know the right answer?
I keep getting this error CS1529: A using clause must precede all other elements defined in the name...
Questions
question
Mathematics, 23.10.2020 17:00
question
Mathematics, 23.10.2020 17:00
question
Business, 23.10.2020 17:00
question
Mathematics, 23.10.2020 17:00
question
Mathematics, 23.10.2020 17:00
question
Social Studies, 23.10.2020 17:00
Questions on the website: 13722362