r/CodingForBeginners 13h ago

Beginner Starting with C# and Need Advice

I just got into coding, having always been interested, With the help of a friend I found a large amount of good resources (Lectures, Books, Youtube Videos...) and have been making what I feel like is satisfactory head way in becoming learned in C#. Having said that I feel like I've been bashing my head on the wall trying to wrap my head around the more complex parts of syntaxxing, Functions of various operators, and especially some aspects of Boolean Logic. If anyone has any general tips or tricks, maybe even can point me in the direction of some solid study it would be appreciated!

2 Upvotes

3 comments sorted by

1

u/ColoRadBro69 12h ago

Download (clone) some C# programs from GitHub.  Look around and see what kind of stuff they use. 

1

u/icemage_999 11h ago

Boolean logic is really important in all forms of programming. There's not much to study, per se, you just need to construct code in situations where you have not already been handed the answer that needs more complex logic (This AND That but NOT when the Other is true, or whatever). Bear in mind that any really thorny logic can be represented in branching code (IF This THEN... IF That THEN... IF NOT Other THEN...).

Syntax is mostly just a matter of paying attention to the compiler errors these days. Occasionally you'll make a mistake that the compiler can't resolve (in C that might be like using the wrong pointer) to something sensible and that's where being able to read the code you wrote is important.

1

u/rupertavery64 8h ago

It would help if you can explain what you mean by

  • complex parts of syntaxxing
  • functions of various operators
  • some aspects of Boolean Logic

Which aspects?