{"id":20497734,"url":"https://github.com/mariodudjak/studentsconsoleapp-traineeshipproject","last_synced_at":"2026-05-29T18:31:14.760Z","repository":{"id":143771077,"uuid":"104206006","full_name":"MarioDudjak/StudentsConsoleApp-TraineeshipProject","owner":"MarioDudjak","description":"C# Console Application - Application which allows a user to input first name, last name and GPA of students. Application implements various design patterns. ","archived":false,"fork":false,"pushed_at":"2017-09-20T12:31:00.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T18:57:13.262Z","etag":null,"topics":["console-application","csharp"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarioDudjak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-20T11:19:59.000Z","updated_at":"2021-02-14T18:13:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2823d7f-65b1-4afd-abef-79037547ba04","html_url":"https://github.com/MarioDudjak/StudentsConsoleApp-TraineeshipProject","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MarioDudjak/StudentsConsoleApp-TraineeshipProject","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioDudjak%2FStudentsConsoleApp-TraineeshipProject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioDudjak%2FStudentsConsoleApp-TraineeshipProject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioDudjak%2FStudentsConsoleApp-TraineeshipProject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioDudjak%2FStudentsConsoleApp-TraineeshipProject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarioDudjak","download_url":"https://codeload.github.com/MarioDudjak/StudentsConsoleApp-TraineeshipProject/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioDudjak%2FStudentsConsoleApp-TraineeshipProject/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33666290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["console-application","csharp"],"created_at":"2024-11-15T18:11:53.291Z","updated_at":"2026-05-29T18:31:14.752Z","avatar_url":"https://github.com/MarioDudjak.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StudentsConsoleApp-TraineeshipProject\n\nYou should create an application which allows a user to input first name, last name and GPA of students. In addition, program should enlist those students.\n\nProject details: � Application will have two operations: �ENLIST� and �DISPLAY� � �ENLIST� - allows to insert student into list of students � �DISPLAY� � displays list of students sorted alphabetically (sort by last name - ascending) � Enforce case-insensitive operation name (e.g. a user can type: �eNlist�, �ENLIst�, �enlist� and application should still work) � Display message if user type non-existing operation, and allow to try it again � Prevent possibility to insert empty values for each studen's property (first name, last name, GPA) [Data validation] � Display message �You need to insert value. � and allow user to insert new value again � Prevent possibility to insert string instead of numerical value for GPA � Display message �You need to insert numerical value.� and allow user to insert new value again � After �DISPLAY� operation, program should stop � user should be able to see the displayed students but user shouldn't be able to insert new one.\n\nProject structure details: � Project.Code � ClassLibrary project � core business logic of your application (must be referenced into ConsoleApplication project) � Project.App � ConsoleApplication project � entry point of your application (everything related to the console's input/output will be made here)\n\nImplementantion details: � You need to create a static class Operations which holds operation names (you will check operation input against these constants) � Create a abstract class Person which holds common properties to each person (including Id) � Create Student class which holds specific student properties (use inheritance) � Create StudentContainer which will have in-memory list of all students, and will have methods to manipulate that list. � Since user should not be able to assign student id, you need to create StudentIdGenerator class which will provide unique id-s (you may use Singleton pattern � for now avoid thread safe version) � Upon Student object creation, system will acquire Id via StudentIdGenerator � a user should not be able to set Id � Create dedicated validation class with methods to validate string (null or empty), operation name and GPA's appropriate data type \n\nExample:\n\nConsole (bolded values are user input)\n\n1.       Operation: ENLIST\n\n2.       Student\n\n3.       First name: Ivan (Upon \"ENTER\" keystroke next property will appear.\nIn this case \"Last name\")\n\n4.       Last name: Ivanovic\n\n5.       GPA: 2.5 (Upon \"ENTER\" keystroke - student should be inserted into\nrepository, and user will be able to choose an operation again)\n\n6.       Operation: ENLIST\n\n7.       Student\n\n8.       First name: Ana\n\n9.       Last name: Anic\n\n10.   GPA: 4.6\n\n11.   Operation: display\n\n12.   Students in a system:\n\n13.      1. Anic, Ana - 4.6\n\n          2. Ivanovic, Ivan - 2.5\n\n----------------------------------------\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariodudjak%2Fstudentsconsoleapp-traineeshipproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariodudjak%2Fstudentsconsoleapp-traineeshipproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariodudjak%2Fstudentsconsoleapp-traineeshipproject/lists"}