Day 7 & 8 of my #90DaysOfCode Challenge The last two days were packed with learning, debugging, and building as I dove deeper into C# and object-oriented programming concepts. Day 7 Highlights: - Built a Student Management System in C#. - Added login authentication and improved user session flow. - Learned to use List<T> for flexible data storage instead of arrays. - Used int.TryParse() for input validation. - Enhanced menu navigation for a smoother user experience. Day 8 Highlights: - Practiced Polymorphism, Abstraction, and Inheritance. - Created and implemented Interfaces for multiple class behaviors. - Worked with Enums to manage constant values cleanly. - Implemented File Handling (File.WriteAllText / File.ReadAllText) for saving and reading data. - Used Exception Handling (try, catch, finally) to manage runtime errors gracefully. These lessons are giving me a strong foundation to build scalable and maintainable applications in C#. You can check out my progress here https://lnkd.in/dqK-4iGk #90DaysOfCode #CSharp #DotNet #SoftwareDevelopment #OOP #CodingJourney #Developers
C# and OOP: Building a Student Management System
More Relevant Posts
-
🔄 While vs Do-While Loops — Same Goal, Different Flow Loops are essential in programming, but choosing the right one matters for performance and logic. Here's the key difference: ♦️ While Loop Condition is checked before executing the block If condition is false initially → loop never runs ♦️ Do-While Loop Code block runs at least once Condition is checked after execution In short: ➡️ Use while when you want validation first ➡️ Use do-while when action must run at least once Mastering these basics builds confidence for writing optimized logic and cleaner programs! #ProgrammingBasics #CodingTips #WhileLoop #DoWhileLoop #Developers #SoftwareEngineering #LearnToCode #CProgramming #Java #CPlusPlus #LogicBuilding #TechEducation #GSWInfotech
To view or add a comment, sign in
-
-
Day 26 of #100DaysOfCode 🚀 Today's problem was all about balance — literally. 🔹 LeetCode 1941 — Check if All Characters Have Equal Number of Occurrences The task: Verify whether every character in a string appears the same number of times. At first glance, it looks simple — but it's a great exercise in clean logic, frequency counting, and edge-case handling. 🧠 Approach (Java): Use an array of size 26 to store character frequencies. Track the first non-zero frequency. Compare all other non-zero counts with it. If any mismatch occurs → return false. Otherwise, the string is perfectly balanced. A small problem, but a powerful reminder that clarity > complexity. Efficient logic and readable code always scale better in the long run. 💡 Key Takeaway Mastering these bite-sized logic checks builds strong intuition for: ✔ string manipulation ✔ hashing concepts ✔ pattern consistency ✔ frequency-based problem solving These fundamentals become the building blocks for bigger DSA challenges. #100DaysOfCode #Day26 #LeetCode #DSA #JavaDeveloper #CodingJourney #ProblemSolving #Programming #Strings #Hashing #LearningEveryday #TechJourney
To view or add a comment, sign in
-
-
🚀LeetCode #5 – Longest Palindromic Substring (C++ Solution) Just solved LeetCode Problem #5 — one of those classic challenges that really tests your understanding of string manipulation and dynamic programming. This problem made me slow down and think carefully about how to expand around centers efficiently and optimize without brute force. It’s a great example of how small improvements in logic can drastically change performance. 🧠 Concept: Find the longest substring that reads the same forward and backward. Approach used: Expand Around Center — checking every possible center in O(n²) time but with constant space. 💻 Tech Stack: C++ ⚙️ Focus: Optimization, logic clarity, and clean code structure. Every problem like this strengthens how I think about data patterns — and that’s exactly the kind of mindset I bring into real game logic and system design. #LeetCode #Cplusplus #Coding #ProblemSolving #GameDev #Programming
To view or add a comment, sign in
-
-
Every day I discover something new about C# and .NET. Today’s focus: mastering async/await and understanding how asynchronous programming makes applications more responsive. 💡 What is async/await? In simple terms, it’s a way to run tasks without blocking the main thread. Instead of waiting for a long-running operation (like a web request or file read) to finish, your app can keep doing other work — and then “await” the result when it’s ready. Example: var data = await GetDataAsync(); This makes the code look synchronous but keeps it non-blocking and efficient. 🧩 Key takeaway: “Async doesn’t mean faster — it means smoother.” Loving this journey of continuous learning and improvement 💪 #CSharp #DotNet #LearningJourney #Programming #Developers #SoftwareEngineering #AsyncAwait #Coding #CleanCode
To view or add a comment, sign in
-
🧩 LeetCode #300 – Longest Increasing Subsequence (Medium) Today I solved one of the classic Dynamic Programming problems — Longest Increasing Subsequence (LIS). This problem really helped me strengthen my understanding of how smaller subproblems can be combined to build an optimal solution. ⚙️ Approach: ➤ Used a Dynamic Programming (Bottom-Up) method. ➤ For each element in the array, I checked all previous elements to find if any smaller number could form an increasing sequence. ➤ If yes, I extended the subsequence by updating dp[i] = max(dp[i], dp[j] + 1) for all j < i where nums[j] < nums[i]. ➤ The longest subsequence length is simply the maximum value in the dp array. 🧠 Key Learning: Learned how to break a problem into smaller overlapping subproblems. Understood how DP avoids recomputation and ensures efficiency. Practiced identifying the transition relation between subproblems — the most important step in DP. 📈 Complexity: Time Complexity → O(n²) Space Complexity → O(n) Solving this helped me think more clearly about state definitions and optimal substructure — two pillars of dynamic programming. Feeling more confident moving deeper into DP problems now 🚀 #LeetCode #DynamicProgramming #ProblemSolving #CodingJourney #Java #DSA #StudentDeveloper
To view or add a comment, sign in
-
-
🔥 Day 61 of #100DaysDSAChallenge 📌 Topic: Strings & Dynamic Programming ✅ Problem Solved on #LeetCode: 1️⃣ 139. Word Break (🟠 Medium) 💡 Key Learnings: • Practiced applying Dynamic Programming to string-related problems. • Learned how to efficiently check word segmentations using a DP approach. • Understood the role of minimum and maximum word lengths for better optimization. • Strengthened use of hash-based lookups for faster word validation. 🚀 Consistency Matters: Every problem solved builds sharper logic and deeper understanding. Keep pushing forward — each day of coding fuels unstoppable growth 💪 🔗 #100DaysChallenge #Day61 #DSA #LeetCode #ProblemSolving #CodingChallenge #Java #Programming #Strings #DynamicProgramming #LogicBuilding #Consistency #LearningTogether #10kCoders #10000Coders
To view or add a comment, sign in
-
-
🚀 Day 56 – Object-Oriented Programming in C++ Today I explored one of the most powerful paradigms in programming — Object-Oriented Programming (OOP) in C++. 💡 🔹 Key Learnings: Understood the 4 core pillars of OOP: Encapsulation, Inheritance, Polymorphism, and Abstraction. Learned how to define classes and objects effectively with constructors, destructors, and access specifiers (public, private, protected). Explored inheritance to reuse and extend existing functionality. Implemented polymorphism using virtual functions for dynamic behavior. Understood how abstraction helps hide internal complexity and focus on essential features. 🧩 This lecture helped me realize how OOP makes code modular, reusable, and easier to maintain — a key skill for building scalable software systems. #100DaysOfDSA #Day56 #Cplusplus #OOP #ProgrammingJourney #LearningNeverStops 🚀
To view or add a comment, sign in
-
💡 C vs C++ — Understanding the Core Difference As developers, we often start our journey with C, the foundation of modern programming — a procedural language focused on functions and structured logic. Then we move to C++, an evolution that introduces Object-Oriented Programming (OOP) — bringing classes, objects, and reusability into play. Both languages are powerful in their own way: ✅ C – Fast, low-level, close to hardware ✅ C++ – Flexible, modular, and object-oriented Understanding their differences helps us appreciate how programming has evolved — from procedural thinking to object-oriented design. 🚀 #C #CPlusPlus #Programming #Developers #Coding #Learning #SoftwareDevelopment #OOP #TechEducation
To view or add a comment, sign in
-
-
🚀 Template Specialization in C++ Template specialization allows providing custom implementations for specific data types when using templates. This is useful when the generic implementation is not optimal or suitable for certain types. Specialization can be partial or full, allowing for different levels of customization. Full specialization provides a completely new implementation for a specific type, while partial specialization allows some template parameters to remain generic. Template specialization enables fine-grained control over template behavior. #c++ #programming #coding #tech #learning #professional #career #development
To view or add a comment, sign in
-
-
𝐋𝐞𝐚𝐫𝐧 𝐂++ 𝐟𝐫𝐨𝐦 𝐒𝐜𝐫𝐚𝐭𝐜𝐡 𝐂𝐨𝐦𝐩𝐥𝐞𝐭𝐞 𝐂𝐨𝐮𝐫𝐬𝐞 𝐰𝐢𝐭𝐡 𝐄𝐱𝐚𝐦𝐩𝐥𝐞𝐬 Start coding with a step-by-step guide made for C++ for beginners. What you’ll master: Setup (VS Code + g++) Syntax, I/O, control flow & loops Functions, arrays/strings/vectors Pointers & memory (simple!) OOP (classes, inheritance, polymorphism) STL algorithms + templates File I/O & exceptions 🎯 Mini Project: Student Score Manager Dive in now 👉 https://lnkd.in/dS-jHfHY #CPlusPlus #Cpp #Programming #STL #OOP #LearnToCode
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development