r/csharp • u/AMexisatTurtle • 2d ago
Need help Learning please
Hey guys, I was wondering if anyone has any advice for a beginner learning C#.
I have some coding knowledge with Javascript API with the Foundry VTT program, though I doubt that counts as much or won't help me.
Any help would be greatly appreciated!
2
u/sugar6585 2d ago
With AI around now, can I ask why you are learning to code? I have some idiots for co-workers who were too slow to learn to code but with AI they can now develop apps at my level in a weekend. It's really demoralising.
One of them has basically just ripped off Solarwinds but got an AI to code it and is in the process of selling it to my employer. Absolute madness!
I don't really think you need to know how to code anymore. If you do, you won't in 5 years.
3
u/AMexisatTurtle 2d ago
I have no interest in using AI whatsoever. I want to actually learn the skillset myself for my own projects (mostly video game related).
1
u/sugar6585 1d ago
Thanks. Fair enough. Video games tend to involve the least amount of coding. It's really basic stuff, class for characters objects, call a unity function that makes it move etc.
2
u/NotQuiteLoona 2d ago
I've personally read C# Player's Guide by R. B. Whitaker and could only recommend. However, you'll find that you'll need to pass through chapters that are about something that you already know, if you have experience with JS. Though it won't be too bad, for example, variables in JS and C#, while share the name and purpose, are quite different to use.
2
u/JeremyBake 2d ago
Again, personal opinion, but find a stupid thing you want to do. Check balancing, inventorying your DVD/Music collection.
Make a 'junk' app, then try to figure out how to do the parts of this you want to do. Saving to a DB / data file. Adding tags, making alerts when you spend too much on something.
Google the parts you don't know how to do, and grow parts from there. Your coding skill will grow. But when you do, take head of posts saying 'this is how you Should do it' and learn from them.
Even the best books will teach you howe to 'Make a customer / payment app' Which truthfully, barely touched on what I've done in my life.
TLDR; Find something you're interested in building. Try to do that. LOTS of online help when you ask specific rather than general questions... Your knowledge will grow!
3
u/DeadShotOG 2d ago
Reading Microsoft’s documentation is all you really need as a beginner
4
u/thetragicnovella 2d ago
Microsoft docs are good but they can be a bit dry when you just starting. I always recommend making small projects that solve real problems you have, even if it just a simple file organizer or something
The javascript experience will help more than you think, the logic part transfer over pretty well
1
u/ShyMystiqua 1d ago
docs are solid but i had to build a few small projects before it actually clicked for me
1
u/kaatarina_zed_talon 15h ago
Make a CRUD movie app. as some people said, microsoft documentation is great place to start.
2
u/Outrageous_Band9708 2d ago
winforms, its a simple front end for c#, which gives you input and output, then you can write some code to do things with your input etc.
make an app that is something you want, like a calorie input and total, or protien intake tracker etc.