Create C# Console application. Within the Main() method in this application, create variables of the  correct data type for the following:   • Student information, such as:    o First Name  o Last Name  o Birthdate  o Address Line 1  o Address Line 2  o City  o State/Province  o Zip/Postal  o Country  o Any other pertinent information you want to add for a student record  • Professor information with pertinent fields related to what a professor in real-life would have. • A university degree with pertinent fields such as Bachelor or Master.  o A degree can be Bachelor of Science in Information Technology and include fields such as  Degree Name, credits required, etc. Some of the fields, such as course list and prerequisites  will need to wait until you know how to create arrays or collections.  • A university program with pertinent fields. Fields might include:  o Program name (examples might be Business, Information Technology)  o Degrees offered (Bachelor, Master, Ph.D.)  o Department Head    • Information for a course that would be part of your selected degree and program, with pertinent  fields. Examples might be "Introduction to Computer Science" or "Introduction to Psychology".  Once you have the variables created, use assignment statements to assign values to them and use the  Console.WriteLine() method to output the values to the console window.   Challenge  Investigate the .NET Framework documenation around Console.ReadLine() and modify your code to use  this method for accepting input from a user of your application and assign it to the variables you have  created.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Create C# Console application. Within the Main() method in this application, create variables of the  correct data type for the following:  

• Student information, such as: 

 

o First Name 

o Last Name 

o Birthdate 

o Address Line 1 

o Address Line 2 

o City 

o State/Province 

o Zip/Postal 

o Country 

o Any other pertinent information you want to add for a student record 

• Professor information with pertinent fields related to what a professor in real-life would have. • A university degree with pertinent fields such as Bachelor or Master. 

o A degree can be Bachelor of Science in Information Technology and include fields such as  Degree Name, credits required, etc. Some of the fields, such as course list and prerequisites  will need to wait until you know how to create arrays or collections. 

• A university program with pertinent fields. Fields might include: 

o Program name (examples might be Business, Information Technology) 

o Degrees offered (Bachelor, Master, Ph.D.) 

o Department Head 

 

• Information for a course that would be part of your selected degree and program, with pertinent  fields. Examples might be "Introduction to Computer Science" or "Introduction to Psychology". 

Once you have the variables created, use assignment statements to assign values to them and use the  Console.WriteLine() method to output the values to the console window.

 

Challenge 

Investigate the .NET Framework documenation around Console.ReadLine() and modify your code to use  this method for accepting input from a user of your application and assign it to the variables you have  created.

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Study of Characters
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education