Keeping your code organized is one of the most essential aspects of writing good software. This is especially true for any company that wants to keep its coding standards clean, elegant and...
Category: Software Engineering
C# deals with two types of methods, namely static and instance methods (non-static methods). The static method does not require objects or instances. The methods get called directly from the class...
In programming, we encounter objects of different types frequently. For example, some objects are mutable, and some are immutable. These concepts describe two very different types of objects in...
In programming, abstractions are very important. Abstractions allow us to think in a simpler way when designing software. They help us design software that is easy to understand and extend by...
If you've ever written any code, you're probably familiar with variables. These are the tiny bits of text that store data in your program. They can be relatively simple, such as a number, or much...
3 Clever Ways to Return Empty Value Instead of Null From a Method
A common question you may frequently ask yourself is: Should I return null or empty values from a method? Returning null is common programming practice used when a method doesn't have a specific...