Select Page
C# Resources: Learn C# Interactively

C# Resources: Learn C# Interactively

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...
How to Test for Even or Odd Numbers in C#

How to Test for Even or Odd Numbers in C#

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...
Multiplication and Division in C#

Multiplication and Division in C#

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...
C# Basics: How to Write Comments

C# Basics: How to Write Comments

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...
6 Best Books to Learn C#

6 Best Books to Learn C#

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...