Uncategorized

Hidden .NET Gems – Path.Combine

Hi, I've learned about the magic of the method Combine from Path a few months ago. Usually, even in production code, we tend to use string concatenation through either directly using '+' or StringBuilder. Thing is, you do not want to directly use string concatenation to build your path. Try to think about using your… Continue reading Hidden .NET Gems – Path.Combine

Advertisements
C#, Uncategorized

Programming basics : manage program flow final part

Welcome reader, This will be the final part in the programming basics mini series in how to manage the program flow of your software application. We're going to see how to manage the flow of your program when we're using a switch. It is a structure that is mostly use when we have predefined conditions.When… Continue reading Programming basics : manage program flow final part

C#, Uncategorized

Programming basics: manage program flow part two

Welcome reader, We'll pick up where we left with how to manage the program flow of a software application. We saw how to use the if-else if-else structure. To evaluate a condition, we need comparaison operators. Those are use evaluate a boolean expression, which will either result a true or false. Below, you'll be able… Continue reading Programming basics: manage program flow part two

C#, Uncategorized

Programming basics: manage program flow part one

Welcome reader, Our journey into programming began with the use of variables, how to name and how to store data in them. Programming goes a bit further than this. When you tell your machine to perform a given operation, sometimes, you want to check a state or a condition before your console application performs the… Continue reading Programming basics: manage program flow part one

C#, Uncategorized

Programming basics: My first console application

Welcome reader, We haven't create an application since the start of the programming basics. It is sort of a ritual that the first program that a programmer writes will print of the screen the following : "Hello World!". So, we are actually going to write this as our first console application. Open your IDE and… Continue reading Programming basics: My first console application