This repository contains my C# learning journey, where I practice and store simple examples while learning the fundamentals of the C# programming language.
I created this repository mainly to learn step by step, write clean beginner-level code, and build a strong foundation before moving on to advanced topics like ASP.NET and .NET Core.
- To understand C# basics clearly
- To practice programming logic regularly
- To keep all my C# lessons in one place
- To build confidence with console applications
This repo follows a simple and traditional learning approach: learn the basics well, practice them, and then move forward.
- Variables
- Data Types
- Working with Numbers
- String Manipulation
- Comments
- User Input
- Exception Handling
- If Statements
- Switch Statements
- For Loops
- While Loops
- Do-While Loops
- Methods
- Return Statements
- Arrays
- 2D Arrays
I also built a few small console-based programs to practice logic:
- Calculator
- Guessing Game
- Mad Libs Game
- Exponent Method
These helped me understand how basic concepts work together in real code.
- Language: C#
- Platform: .NET (Console Applications)
- IDE: Visual Studio / Visual Studio Code
- Beginners learning C#
- Computer Engineering students
- Anyone revising C# fundamentals
- Learners who prefer simple and clear examples
Follow these steps to clone this repository using Visual Studio Community or Professional.
- Launch Visual Studio
- Make sure you are on the Start Window
- Click on Clone a repository
- If Visual Studio is already open, go to:
File → Clone Repository
- In the Repository location field, paste:
https://github.com/JekenMaharjan/C-Sharp-Lesson.git - Choose a local folder where you want to save the project
- Click Clone
- Visual Studio will download the repository and open it automatically
- In Solution Explorer, select a lesson file
- Set the project as Startup Project (if needed)
- Press Run (▶) or F5
- Modify the code
- Run it again to see changes
- Practice regularly to understand the concepts better
- Works for both Visual Studio Community and Professional
- Make sure .NET Desktop Development workload is installed
- Console applications are best run using Ctrl + F5
Happy coding and keep learning step by step 🚀
For any inquiries, reach out to us at:
- Email: maharjanjeken@gmail.com
- Github: Jekode
🌐 Portfolio: jekenmaharjan.com.np
📬 Email: maharjanjeken@gmail.com