by Janice Friedman | Feb 21, 2017 | Tutorials
If you want to learn how to code in languages like HTML, CSS, Java or JavaScript, PHP, and even Ruby, there are dozens upon dozens of free and C# Resources available online that make it easy to begin to teach yourself how to code. Some developers are even fully taught...
by Janice Friedman | Feb 15, 2017 | Tutorials
In C#, an integer is even when number % 2 == 0. Otherwise, it is odd. This test works for positive integers, negative integers, and zero. Check even or odd with the remainder operator The % operator returns the remainder after division. For example, 5 % 2 is 1, 6 % 3...
by Janice Friedman | Jan 22, 2017 | C# Features
Use * to multiply numbers and / to divide them in C#. The operand types determine whether division produces an integer or a fractional result. Multiply and divide in a console application This complete example declares its variables and shows both integer and...
by Janice Friedman | Jan 1, 2017 | Tutorials
Just like with any other programming language, it’s pretty easy to write comments in C#. When you write comments, it really just means that you’re writing something in your files that aren’t part of the code. Developers often use comments to annotate...
by Janice Friedman | Dec 20, 2016 | Tutorials
One of the most thorough ways to learn a new coding language is to really do your research on the ins and outs of the syntax, structure, and basic concepts. If you’re looking to learn C#, or if you already know some of the languages but would like to take your...