Skip to content

JekenMaharjan/C-Sharp-Lesson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📘 C-Sharp-Lesson

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.


🎯 Why I Made This Repository

  • 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.


📌 Topics I’ve Covered So Far

✅ Fundamentals

  • Variables
  • Data Types
  • Working with Numbers
  • String Manipulation
  • Comments
  • User Input
  • Exception Handling

✅ Control Flow

  • If Statements
  • Switch Statements
  • For Loops
  • While Loops
  • Do-While Loops

✅ Methods & Arrays

  • Methods
  • Return Statements
  • Arrays
  • 2D Arrays

✅ Mini Projects

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.


🛠️ Tools I Used

  • Language: C#
  • Platform: .NET (Console Applications)
  • IDE: Visual Studio / Visual Studio Code

👨‍💻 Who This Repository Is For

  • Beginners learning C#
  • Computer Engineering students
  • Anyone revising C# fundamentals
  • Learners who prefer simple and clear examples

🧩 How to Clone This Repository in Visual Studio

Follow these steps to clone this repository using Visual Studio Community or Professional.


Step 1: Open Visual Studio

  • Launch Visual Studio
  • Make sure you are on the Start Window

Step 2: Choose “Clone a repository”

  • Click on Clone a repository
  • If Visual Studio is already open, go to:
    File → Clone Repository

Step 3: Enter the Repository URL


Step 4: Clone the Repository

  • Click Clone
  • Visual Studio will download the repository and open it automatically

Step 5: Open a Lesson

  • In Solution Explorer, select a lesson file
  • Set the project as Startup Project (if needed)
  • Press Run (▶) or F5

Step 6: Experiment and Learn

  • Modify the code
  • Run it again to see changes
  • Practice regularly to understand the concepts better

✅ Notes

  • 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 🚀


📬 Contact

For any inquiries, reach out to us at:


🌐 Connect with Me

🌐 Portfolio: jekenmaharjan.com.np

LinkedIn GitHub Twitter Linktree

📬 Email: maharjanjeken@gmail.com

Releases

No releases published

Packages

 
 
 

Contributors

Languages