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.
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.
Step by step
Solved in 2 steps