Okay so i’m 17 learning c# in college. I never have ideas to practice. I’ve made a bunch of random forms apps, but nothing that was particularly a challenge. I’ve just learned classes and arrays and stuff, so still very new to it all. But i love a challenge and if anybody has an idea of something i should try to code please tell me and i will give it my best shot. Preferably in forms app rather than console.
Thanks
Windows Forms app that spies on the clipboard and displays whatever is there. If it is an image, display it. If it’s a URL, load up the page in a webview. If it’s text, display it in an editable text box.
Ooh interesting. Ill give it a shot. Thanks
Show a line of checkboxes representing Monday to Sunday, where checked means a restaurant is open for business on that day of the week. Every time the user check or uncheck a box, a label will say an abbreviated version of when the restaurant is open, eg, checking all but Thursday lead to this output
Monday to Wednesday and Friday to Sunday
If you can pass that, add two dropdowns for each day of the week, representing the opening & closing hours. So for example
Monday to Thursday from 9 AM to 8 PM, Friday from 1 PM to 11 PM, Saturday to Sunday from 3 PM to 11 PM
Show a MonthCalendar, bolding each date where the restaurant is open.
After you succeed, then add a validation that the restaurant can’t open for more than 52 hours per week. Probably notify on the label or something.
Allow reservation, for each hour there can be a maximum of 4 reservation, can’t be less than 3 hours before closing hour.
Simple forms app that displays data from a database.
Forms app that dynamically resizes its content when you drag it bigger or smaller.
Have you considered writing a game character creator?
One of the first things I normally do when learning a new language is develop a character creator. It can be for Dungeons and Dragons or Fallout, or NBA2K or whatever as long as you have an existing standard to compare it to.
Why?
The character standard for an existing game simulates a standardized list of requirements and it helps prevent scope creep that might occur if you try to come up with a character template yourself. One of the biggest issues for self-directed projects is your “definition of done.” Using an existing standard gives you an idea of what “done” looks like.
Then it forces you to use all sorts of datatypes – String for names, integers for stats, decimals for money, lists for possessions. Then you have to save that character so it forces you to learn how to serialize the data to XML or JSON or write it to a database. You also have to learn how random works and weapon types are great for learning how inheritance and overriding works in that language.
Then you need to test everything, so it forces you to write unit tests that create, test and tear down a character.
I most recently did this last month when I was learning PowerShell for a work project, so, yeah, I created a text-driven D&D character creator in PowerShell.
Maybe a project like this would work for you?
Ooh yeah sounds interesting. Only just learned classes, so this could make good use of that too. I’m gonna give this a shot. Thanks for the advice
LOL this is exactly what I did while I was in college, NPC generator for DnD 5th edition. Even had bulk create which would do like 500 at a time that could be saved to a csv and reloaded later for editing.
Then used it for a campaign editor website we made in our database class where the generator was used in conjunction with bulk insert into the database.
Learned so much just by making a NPC generator. I still have it up on my github to this day lol
https://github.com/ampdecay/Generator
edit: damn now I want to go back and fix up some newb stuff I just saw in there lol
If u want to, u could redo some windows apps like notepad or the media player. I can help if u need something, mainly bc I too am in the learning threshold
Oh, sounds cool. I made something a while back which was like a mobile emulator ig. You could click on stuff and it would open “apps” some just led to the internet or programs installed on pc but some such as the calculator and stuff opened up another forms app. It was pretty cool imo. But I could probably make these apps like you say and add them to this.
C# devs
null reference exceptions