C
C#3w ago
Steivsh

✅ Beginner Projects

Hi everyone, I'm just starting out on my journey with C#, and I had a question about building Windows apps. I'm still pretty early in the learning process — so far, I've made a Tic-Tac-Toe game and a To-Do list app, both in the console. Now I'm thinking about creating a simple expense/budget app, but I'd like to make it look and feel like a real app (with a GUI). I'm wondering: is it too early for me to start exploring this, or should I stick with console projects for a bit longer? Thanks in advance for any help or advice! – Stephen
9 Replies
leowest
leowest3w ago
do you have github if so can you post your todo to it and link it? did you use sqlite or any kind of database or just raw files to store the data? GUI frameworks have a lot of quirks to learn so knowing OOP and to pass objects etc are very helpful as well as events etc
becquerel
becquerel3w ago
best way to learn is by doing challenging things, so definitely jump in if you're interested. as leowest said you will need to learn the OOP way of doing things to structure a GUI well. you will very likely also need some understanding of async/await and delegates/action<T>/func<T>. winforms tends to be the easiest way to start making UIs for beginners, but for more serious projects you will want to look into either WPF or avalonia (for desktop apps), or asp.net core mvc/blazor (for web apps) personally i like blazor a lot
giadif
giadif3w ago
Do the things that most excite you and you'll learn everything on your way. My fist approach to programming was a Java betting app to keep track of my bets and budget. I knew nothing about OOP but I figured it out along all the other stuff I needed for my project
Steivsh
SteivshOP3w ago
Didn't use a database, I just stored them in a list. https://github.com/stephenlit/Todo Also trying my luck at Tic-Tac-Toe as well lol
GitHub
GitHub - stephenlit/Todo
Contribute to stephenlit/Todo development by creating an account on GitHub.
leowest
leowest3w ago
that is very simplistic, I would say take on some more complex project in console, look up events, try saving and loading back data from a file, then move into either winforms or WPF. If you want to make GUI applications that actually have a nice look'n'feel I suggest you skip touching winforms and learn straight away WPF so u dont get stained by the bad ways of winforms. big plus for using github thou, that is something a lot of people starting ignore... versioning control is a must for developers.
yourFriend
yourFriend3w ago
That's sweat. Can you tell me where's ConsoleTables come form. I'm not able to find it in official microsoft documentation for .NET. https://learn.microsoft.com/en-us/dotnet/api/?view=net-9.0 I'm a beginner. Currently learning the very fundamentals of programming in C#
.NET API browser
Explore Microsoft's comprehensive .NET API browser. Your ultimate resource for all .NET-based APIs. Start your search now.
leowest
leowest3w ago
that is a library https://github.com/khalidabuhakmeh/ConsoleTables you can see at the top using ConsoleTables; and you can see there are no other projects or files about it and u also know its not in the BCL so u can look at the usings and into the csproj file to find out
yourFriend
yourFriend3w ago
Thank you, I thought it was somewhere in System.Console :when:
Steivsh
SteivshOP2w ago
Thanks! I guess you got the answer to the other question. Happy Coding I'm working on another simple program. I download a .cvs file from my bank then in the app I can put the path (or in windows drag and drop) in for the file. It will then parse the file and put like transaction together to show me my spending habits for that month. I plan to expand on it after that, maybe putting the data into a DB or something. I want to then expand it later into a budet app.

Did you find this page helpful?