Processing Tasks in Order of Completion

Disclaimer: I acknowledge this method was obtained from another blog; I’m pretty sure it was Stephen Toub’s, but I cannot seem to find his post again. But here are my modified versions of his Interleaved() method. And here is my test code.

Published
Categorized as C#, Tasks

The 4 pillars of OOP (Object Oriented Programming) summed up in my own words.

Encapsulation – The process of hiding internal data away from other classes. Abstraction – The process of hiding irrelevant details while providing a feature.(with the side effect of reducing the code complexity.) Inheritance – The process of providing properties and methods to derived classes. Polymorphism – The ability of a derived class to take on… Continue reading The 4 pillars of OOP (Object Oriented Programming) summed up in my own words.

Magical Methods in C#

Here is a very well written article about various capabilities in C# written by CEZARY PIÄ„TEK.The Magical Methods in C#

Published
Categorized as C#

Curly {braces} Matter!

Blocks like “if“, “for“, “while“, and “using” (and others) should always use the curly braces “{” and “}“. Code is for humans to read, and compilers to compile. Right? By properly adding these braces ahead of time before they are needed, you future-proof the code and make the code’s intention (the logic) clear to any… Continue reading Curly {braces} Matter!