Im new to C# and im kinda stuck here. Please help
I was trying to use C# to solve some math riddle, can somebody check out why isnt it working
5 Replies
Comparisons should use the
==
operator. In this current state, the single equal is trying to assign a value to myNumner % 2
which isn't something that can be assigned (not a variable)Perform basic operations on numbers in C# - Training
Learn the operators and techniques used to perform basic math operations on numeric data.
I definitely encourage you to take the C# training Microsoft offers & watch their playlist too 🔥
YouTube
C# for Beginners
Join Scott Hanselman and .NET Distinguished Engineer David Fowler as they teach us C# from the ground up! From Hello World to LINQ and more, Scott and David ...
Tysm