What do these errors mean in C# and how to fix them?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
What do these errors mean in C# and how to fix them?
File
- →
Edit View
Program.cs > X
C Student
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
89 %
Error List
B
Git Project Build Debug Test Analyze Tools Extensions
Debug
Any CPU
x 2
Y
Error List Output
Ready
43°F
Sleet off and on
Y
private string ePrefix;
private int cNum;
private int[] tests = new int [4];
// default constructor
O references
Student()
this.lastName = "".
this.firstName = ""
1 reference
public static object Filestream { get; private set; }
this.id = "";
this.cPrefix= "";
this.cNum = 0;
До
Student.Program
this.lastName = lastName;
this.firstName = firstName;
this.id = id;
↑
↓
Entire Solution
Code
Description
CS1520 Method must have a return type
CS1520 Method must have a return type
2 Errors A 0 Warnings
Start
T
}
// parametrized constructar
0 references
Student (string lastName, string firstName, string id, "string cPrefix, int cNum, int[] tests)
{
IDE0044 Make field readonly
O IDE0051 Private member 'Program..ctor' is unused
DE005 Naming rule violation: These words must begin with upper case characters
Y
Window Help
33 Messages97 Build IntelliSense
Project
Student
Student
Student
Student
Student
6
4-
Search (Ctrl+Q)
&
Program
File
Program.cs
Program.cs
Program.cs
Program.cs
Dragram
8
a
35
11
35
P
16
Ln: 25 Ch: 14
Search Error List
Line Suppression State
25
Student
Active
Active
Active
Active
SPC
CRLF
- 4x
P-
↑ Add to Se
Transcribed Image Text:File - → Edit View Program.cs > X C Student 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 89 % Error List B Git Project Build Debug Test Analyze Tools Extensions Debug Any CPU x 2 Y Error List Output Ready 43°F Sleet off and on Y private string ePrefix; private int cNum; private int[] tests = new int [4]; // default constructor O references Student() this.lastName = "". this.firstName = "" 1 reference public static object Filestream { get; private set; } this.id = ""; this.cPrefix= ""; this.cNum = 0; До Student.Program this.lastName = lastName; this.firstName = firstName; this.id = id; ↑ ↓ Entire Solution Code Description CS1520 Method must have a return type CS1520 Method must have a return type 2 Errors A 0 Warnings Start T } // parametrized constructar 0 references Student (string lastName, string firstName, string id, "string cPrefix, int cNum, int[] tests) { IDE0044 Make field readonly O IDE0051 Private member 'Program..ctor' is unused DE005 Naming rule violation: These words must begin with upper case characters Y Window Help 33 Messages97 Build IntelliSense Project Student Student Student Student Student 6 4- Search (Ctrl+Q) & Program File Program.cs Program.cs Program.cs Program.cs Dragram 8 a 35 11 35 P 16 Ln: 25 Ch: 14 Search Error List Line Suppression State 25 Student Active Active Active Active SPC CRLF - 4x P- ↑ Add to Se
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY