Skill Tree Activated

The quest to become an indie game developer

C#CodingTraining

Codeasy.net C# Beginner – Ch. 3: Var and Const

Day 39 #100DaysOfCode

Today I learned the proper usage for var when declaring variables. It is a good way to have the program decide how a variable is being used and automatically assign a type to it.

As part of the coding exercises, I had to write a program that would remove extra spaces from a string of text input by the user. At first, it seemed challenging, but by breaking down exactly what needed to happen I was able to come up with a solution that was not only small but somewhat elegant, I feel. I really appreciate good code and get excited when I am able to figure out something for myself.

Leave a Reply

Your email address will not be published. Required fields are marked *