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, 22.06.2019 18:00
Budgets you to do all of the following expect a) send frivolously b) avoid over spending c) gain financial independence d) examine your priorities and goals
Answers: 2
question
Computers and Technology, 23.06.2019 02:50
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
Answers: 1
question
Computers and Technology, 23.06.2019 06:10
The head restraint should be adjusted so that it reaches a.the top of your ears b.the base of your skull c.the top of the head
Answers: 1
question
Computers and Technology, 23.06.2019 21:20
For positive constants a and b, the force between two atoms in a molecule is given f(r) = −a r2 + b r3 , where r > 0 is the distance between the atoms. note: a and b are upper case letters. (a) find f '(r) = (b) find the critical point for f(r). r = (c) find f ''(r) = (d) find the value of r so that f ''(r) = 0.
Answers: 1
You know the right answer?
I keep getting this error CS1529: A using clause must precede all other elements defined in the name...
Questions
Questions on the website: 13722362