A comprehensive console-based grade management system built with C# that demonstrates fundamental programming concepts including variables, data types, operators, conditional statements, and loops. Perfect for learning C# programming fundamentals while building a practical application. π About The Student Grade Management System is an educational project designed to demonstrate the practical application of fundamental C# programming concepts. This system allows users to manage student grades efficiently through a simple, menu-driven console interface. Learning Objectives:
Understand and implement variables and data types in C# Master the use of operators (arithmetic, comparison, logical) Apply conditional statements (if, else if, switch) for decision-making Utilize loops (for, while, do-while) for repetitive tasks Work with arrays and Lists for data storage Implement statistical calculations and data analysis Learn C# syntax and .NET framework basics
This project serves as an excellent starting point for beginners learning C# programming fundamentals while creating a real-world application. β¨ Features Core Functionality
π Add Student Grades
Input student names and grades Data validation for grade ranges (0-100) Support for multiple students Duplicate name checking
π Display All Student Grades
View complete list of students and their grades Formatted table output with alignment Empty state handling
π Calculate Class Average Score
Automatic average calculation using LINQ Display mean grade for the entire class Handles empty class scenario
π Find Highest and Lowest Scores
Identify top performer(s) Identify student(s) needing support Display student names with their scores
π View Grade Distribution
Grade ranges: A (90-100), B (80-89), C (70-79), D (60-69), F (0-59) Visual distribution display with bar charts Percentage breakdown by grade category
πͺ Exit Program
Safe program termination Optional data persistence
Programming Concepts Demonstrated β Variables & Data Types: string, int, double, bool, List, arrays β Operators: Arithmetic (+, -, *, /), Comparison (>, <, ==), Logical (&&, ||, !) β Conditional Statements: if, else if, else, switch statements β Loop Statements: while, for, foreach, do-while loops β Collections: Arrays and List for dynamic data storage β Methods: Modular code organization with static methods β Input Validation: Exception handling with try-catch β String Formatting: String interpolation and formatting π οΈ Technologies Used
Language: C# 10.0+ Framework: .NET 6.0 or higher IDE: Visual Studio 2022 Community (recommended) Data Structures: Arrays, List, Dictionary<TKey,TValue> Concepts: Object-Oriented Programming, Procedural Programming
π» Installation Prerequisites
Visual Studio 2022 Community Edition (or higher) .NET 6.0 SDK or higher Windows, macOS, or Linux