MojProgramThree is an educational C# .NET project aimed at teaching and demonstrating fundamental programming concepts in C#. The project is structured as a Visual Studio solution and contains multiple libraries and a console application, with a focus on beginner-to-intermediate programming tasks, best practices, and hands-on exercises.
The solution consists of several components:
MojProgramThree/
├── MojProgram_Three/
│ ├── MojProgram_Three/ # Main console application
│ ├── BibilotekaKoda/ # (Library, likely for code examples)
│ ├── VarijableClassLibrary/ # Library focused on variables and comments
│ └── ... (solution and config files)
├── LICENSE
├── README.md
- Login System: Demonstrates reading user credentials, masking passwords, and basic authentication with a SQL Server database.
- Interactive Console Menus: Rich text-based menus for navigating educational modules.
- Fundamental C# Topics: Includes code examples for variables, types, loops, arrays, if-else, switch, and more.
- Commentary and Guidance: Inline explanations, comments, and educational notes in code (in Bosnian/Croatian/Serbian).
- Hands-On Exercises: Students can run and adapt the code to reinforce learning.
- Visual Studio 2019 or later (or compatible IDE)
- .NET Framework 4.5+
- Local SQL Server instance (for authentication demos)
- Clone the repository:
git clone https://github.com/saulmagicinc/MojProgramThree.git
- Open the solution file
MojProgram_Three.slnin Visual Studio. - Restore NuGet packages if prompted.
- Build the solution (
Build > Build Solution).
- Set
MojProgram_Threeas the startup project. - Press
F5or clickStartto run the console application. - Follow the on-screen menu prompts.
Note: The login demo connects to a local database named
LoginDBusing integrated security. You may need to adjust or mock the connection string if you do not have SQL Server installed.
The console will display structured menus such as:
- Glavni Izbornik (Main Menu): Selects between modules like C# fundamentals or OOP basics.
- Submenus: Drill down into topics such as variables, types, loops, arrays, comments, and more.
- Examples: Each menu option runs code examples or provides explanations.
Contains code and explanations about variables and comments in C#. For example:
Varijable01.cs– Introduction to variables with explanations.Komentari.cs– Demonstrates the importance of code comments; outputs a description and lists students using LINQ.
(Contents not fully explored here, but likely contains reusable code examples or helper methods for educational purposes.)
Most code comments and textual output are in Bosnian/Croatian/Serbian, making it especially useful for native speakers learning C#.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the terms described in the LICENSE file.
Author: saulmagicinc