1. Engineering
  2. Computer Science
  3. create a new c console application be sure to have...

Question: create a new c console application be sure to have...

Question details

Create a new C# console application. Be sure to have proper try/catch blocks around all of your code. Errors should write to your log file. Accomplish the following tasks: Create a Person class (as its own class file: Person.cs)with the following properties: o Prefix: string (Mr., Ms., Dr., etc.) (optional); more precisely this is called honorific but well use prefix o First Name: string o Middle Name: string (optional) o Last Name: string o Suffix: string (Sr., Jr, Il, III, etc.) (optional) o GenderType: Enumeration (Unknown 0, Female 1, Male 2, Transgender-3); we havent covered enumerations yet so youll have to do some research on this. Read-only Gender: string (displays Unknown, Female, Male, Transgender based on the GenderType property DOB: Date (Date of birth); ensure you dont include the time for this; only the date o o Address: (another class) o SSN: string o Read-only Age property: Byte; this will get the age based on the DOB o Read-only FullNameForward property: string (make sure your code ignores optional properties that are not used); use string.Concat(); this will return Mr. Frankie B. Baker Jr. if all properties are Read-only FullNameBackward property: string (make sure your code ignores optional properties that are not used); use string.Concat(): this returns Baker Jr., Frankie B. if all properties are o
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution