An exploration into a conventional wwitch statement and expression bodied members in C# 8 and C# 9 with Entity Framework Core 5 along with writing efficient queries.
- Microsoft Visual Studio 2019
- .NET 5 Framework
- C# 9 (mixure of former versions are used also) to run
These two methods are used to get desired results although the second method should be avoided.
- 💚 SchoolOperations.GradesForPeople (correct)
- 💛 SchoolOperations.StudentsForCourse (incorrect but works)