Загрузка...

Software Dev - Building a Music App in C# - Learning 2

Hey everyone! Welcome to another video where I document my progress and share what I'm learning! 😁
I know this is really basic, but one of my biggest regrets as a game developer was not documenting my whole journey from the very beginning.

In today's video, I'm focusing on Software Development and showing the behind-the-scenes of a dual project (Bank Account & Car logic) I'm building while studying C#. The goal here is to practice core object-oriented programming (OOP) by simulating the basic structure of a banking system and a car's dashboard logic!

I'm sharing how I built the base structure of this application using C# concepts. Highlights of my learning include:
• Modeling real-world entities into Classes (bankAccount and Car).
• Avoiding hardcoded values by creating dynamic rules (like calculating a credit card limit based directly on the account's current balance).
• Structuring logical flow and decision-making using nested if/else statements (handling the car's honk and brake system).
• Formatting clean terminal outputs using String Interpolation ($"").

How to use and play around with this project: Since this is a Console Application focused on structural learning, you can easily customize the data directly in the code to test it out:
1 - Clone the repo and open the Program.cs file.
2 - Create your own banking profile by instantiating a new account (e.g., bankAccount myAccount = new bankAccount();).
3 - Set up your custom properties like accountName, balance, and haveCreditCard.
4 - Test the car logic by creating a new Car object, defining the accelerate speed, and tweaking the honk and brake boolean values to see how the nested if/else statements react.
5 - Finally, call myAccount.userDetails() and myCar.carInfo() then run the project to see your custom outputs directly in the terminal!

If you're also studying C#, exploring Software Development, or just enjoyed the video format, don't forget to drop a Like, subscribe to the channel, and let me know in the comments what you think! Let's build and learn together! 🤝

Github: https://github.com/Matheus-Ganancio/CSharp-N1---Dados-Web/tree/main/Exercise%2001%20-%20BankAccount

#CSharp #DotNet #SoftwareDevelopment #LearningToCode #SoftwareEngineering #OOP #Programming #DeveloperJourney

Видео Software Dev - Building a Music App in C# - Learning 2 канала Nyteon
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять