Introduction When coding, I find that properties are a simple, yet useful, feature of the C# programming language. Properties enable the use of member syntax for setters and getters. With properties, you can read, write, or compute the value of a private field very flexibly. If you have used C++ or Java in the past, Read More →

Share

Please note that this article assumes you have read my previous tutorials on data types, variables, conditionals and loops, etc. and know how to properly compile a Hello, World! program. Introduction Arrays, which were mentioned briefly in Basic Concepts – Part 2, are found just about everywhere in code. In short, arrays are a simple Read More →

Share

Please note that this article assumes you have read my previous posts on data types, variables, conditionals and loops, classes, etc. and you are able to write a running Hello, World! program. Please do these before trying to create another DOOM or Crysis. Introduction A function is a way of packaging code that does something. Read More →

Share

Please note that this article assumes you have read my previous posts on data types, variables, conditionals and loops, etc. and you are able to write a running Hello, World! program. Introduction In Object-Oriented Programming (OOP), the most important concept is the class. As its name implied, this is especially the case in class-based OOP, Read More →

Share

No, I’m not referring to a common brand of mouthwash. In programming, “Scope” refers to the visibility of a variable, as seen from different locations of a program. Not all variables and objects are available for use by any procedure; that would be akin to a hotel room that leaves all of its doors unlocked, Read More →

Share

Suppose you’re reviewing a modest-sized geocaching program composed of 6,000 lines of Java Code. It’s late at night, and you’re trying to figure out how a certain subroutine works. You know it asks the user for information about Longitude, but you aren’t sure how it works under the hood. Which of the below samples is Read More →

Share

Welcome to the final “What’s In YOUR App?” post of the series. Java C# PowerShell Visual Basic Those of you who have been around computers, for a significant amount of time, likely remember the days when BASIC (Beginner’s All-purpose Symbolic Instruction Code) was a popular programming language. It was found in calculators, handheld devices like Read More →

Share

You might be a bit confused why I’m writing about PowerShell in the same breath as Java, C#, and Visual Basic. Java C# PowerShell Visual Basic In the traditional day-to-day corporate setting, you would find Systems Administrators on one team and Software Developers on another. Typically the developers would know very little about how the Read More →

Share

If you read the previous post (the Java Edition), you saw how simple it was to write a simple program. I would like to continue this trend and show you how to create the same program – one that simply prints “Hello, World!” to the screen and exits – in C#. Remember, this is a Read More →

Share