going into c#
so i realised that im not the best at frontend and even though im a beginner and am not the best programmer? i really enjoy and have a passion for c#, i guess what im getting at is, what should i do? where can i learn the ins and outs of c sharp and can i build a career off of it? im still in school if that gives any idea to how free i am during the week
17 Replies
Be patient and learn at your own pace. I recommend learning by doing, while simultaneously reading documentations.
Each day spend minimum of 1 hour just make something that you feel like you want to make. Want to make a todo-list? Go for it!
Just like anything, nobody learns how to drive a car in a day, especially not from reading how to drive a car. You also need to practice driving physically. Same goes with programming, you need to code yourself. Have an end-goal like a certain app you want to make and just do it.
If you get stuck, read docs; if you don't find or understand the docs. Don't be afraid to Google!
idk if it counts but im making a project for school? i typically make sure i code for atleast
2-3 hours a day atleast
wdym by reading docs tho? (sorry if the quesiton is a little silly)
i also thiught for stuff like a to do list, wouldnt i need frontend? im probably wrong
(thanks for the advice and guidance tho i appreciate it)
Say if I want to make an app that prints something to console, and you know anything console related will be in the Console class.
Then you check say Microsoft docs page for anything related to it.
https://learn.microsoft.com/en-us/dotnet/api/system.console?view=net-8.0#methodsYou'll then see WriteLine(String)
Writes the specified string value, followed by the current line terminator, to the standard output stream.Then we know, that's the method that I want to call!
ohh
Or if you don't know that anything console related will be in Console class, then you can do a quick google like
C# console print msdn
what does that do?
And your first result will be said method
What does what do?
and how would we use that in like bigger projects, like if i wanted to make a game or a calendar marker etc? hiw would i know what docs i should be reading if that makes sense
console print msdn
oh wait you sent the image mb just saw
For one, your first project(s) should not be big.
If you want to make your first game, make a console text-based game.
Do not overscope, make small projects first and you'll work your way up until you are ready for a bigger project.
my school probect is a game, i kinda got pushed into it without a choice ðŸ˜
but yeah, say i make a personal project as a uhh todo list like you said or a tictactoe game( how would you know which docs to use?
Break the problem down into smaller problems then try to solve each of them
Like, when making tic tac toe, you will need to draw the board on the screen
You will need a way for the user to select a square
You will need a way to determine who wins
Etc
For drawing the board, perhaps you would search
C# print to console
For the second one, C# console user input
right okay!
thanks alot guys!
using a the tictactoe method, would searching something like "C# console arrays" or something similar be a good idea too?
Probably yeah
arrays dont have any particular interactions with console however
arrays are just fundamental datatypes for all kinds of programming, but you would likely use an array or similar data structure when making TTT
ohh
yeah that makes sense
so i just use the msdn docs to help me and if i get stuck on understanding that i can use other sources?
you can use whatever, but microsoft docs are pretty damn good
they dont answer big questions like "how to make tic tac toe" thou
but to practice problem solving and breaking down, you should try to break things down yourself anyways
yup! sounds good guys (:
thanks again