๐ฏ Goal: Learn C# programming from scratch to mastery!
๐ Level: From beginner to advanced
โก Feature: Ready-to-run code examples for every topic
| Topic | Description | Status |
|---|---|---|
| Welcome | Welcome to the C# world! | โ |
| Variables | Variables and data types | โ |
| User-Input | Getting input from users | โ |
| Type-Casting | Type conversions | โ |
| Constants | Constants | โ |
| Topic | Description | Status |
|---|---|---|
| Arithmetic-Operators | Arithmetic operations | โ |
| Logical-Operators | Logical operators | โ |
| Conditional-Operator | Conditional operator (ternary) | โ |
| If-Statements | Conditional statements | โ |
| Switches | Switch-case structure | โ |
| Topic | Description | Status |
|---|---|---|
| For-Loops | For loops | โ |
| While-Loops | While loops | โ |
| Foreach-Loops | Foreach loops | โ |
| Nested-Loops | Nested loops | โ |
| Topic | Description | Status |
|---|---|---|
| Arrays | Arrays | โ |
| Multidimensional-Arrays | Multidimensional arrays | โ |
| Lists | List structures | โ |
| Array-of-Objects | Object arrays | โ |
| List-of-Objects | Object lists | โ |
| Topic | Description | Status |
|---|---|---|
| Classes | Classes | โ |
| Objects | Objects | โ |
| Constructors | Constructor methods | โ |
| Overloaded-Constructors | Overloaded constructors | โ |
| Inheritance | Inheritance | โ |
| Abstract-Classes | Abstract classes | โ |
| Interfaces | Interfaces | โ |
| Polymorphism | Polymorphism | โ |
| Topic | Description | Status |
|---|---|---|
| Methods | Methods | โ |
| Method-Overloading | Method overloading | โ |
| Method-Overriding | Method overriding | โ |
| Objects-as-Arguments | Objects as parameters | โ |
| Params-Keyword | Params keyword | โ |
| Return-Keyword | Return keyword | โ |
| Static | Static members | โ |
| Topic | Description | Status |
|---|---|---|
| Getters-And-Setters | Getter and Setter methods | โ |
| Auto-Implemented-Properties | Auto-implemented properties | โ |
| Enums | Enumerations | โ |
| Generics | Generic types | โ |
| Exception-Handling | Exception handling | โ |
| Multithreading | Multithreading | โ |
| Topic | Description | Status |
|---|---|---|
| String-Methods | String methods | โ |
| String-Interpolation | String interpolation | โ |
| ToString-Method | ToString method | โ |
| Random-Numbers | Random numbers | โ |
- Visual Studio 2022 or Visual Studio Code
- .NET 6.0 or newer version
- Windows/macOS/Linux (Cross-platform!)
# Clone the repository
git clone https://github.com/Xjectro/c-sharp-lessons.git
# Navigate to project folder
cd c-sharp-lessons
# Run any lesson
cd Sources/Welcome
dotnet run- Start with Welcome ๐
- Learn Variables and data types ๐
- Explore If-Statements for decision making ๐ค
- Master Loops for iteration ๐
- Learn OOP concepts ๐๏ธ
- Advance with Advanced topics ๐
- โ Beginner: Complete first 5 lessons
- โ Developing: Finish OOP topics
- โ Expert: Complete all lessons
- โ Master: Create your own project!
๐ก Tip #1: Try modifying the code after running each lesson!
๐ก Tip #2: Don't be afraid of errors, read the error messages and try to understand them!
๐ก Tip #3: Try using these codes in your own projects!
This project is open source and we welcome your contributions!
- Fork it ๐ด
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request ๐
- GitHub: @Xjectro
- Issues: For any questions, please open an issue
This project is licensed under the MIT License.
If you found this learning kit helpful, don't forget to give it a โญ!
Made with โค๏ธ by Xjectro