Category
C#

.NET
Mastering C# Exception Handling: Techniques and Best Practices
In this comprehensive guide, we’ll dive deep into the world of C# exception handling. We’ll cover everything from the basics to advanced techniques, along with best practices to help you write clean, robust, and maintainable code. So, let’s get started! Introduction to C# Exception Handling In any software application, unexpected situations may arise that can […]

.NET
How To Differentiate If, Else if, Else in C#
When we learn to program, we start with the basics and as we learn, we move up the level and get into more advanced territory. This often makes us forget simple things and it is always good to refresh and reinforce learned concepts. Using conditionals in our code is one of the first things we […]

.NET
Mastering C# Optimization: Tips and Best Practices
What are the first things that come to mind when you think of C#? If you’re like most people, the following phrases might pop into your head: object-oriented, portable code, and .NET Framework. But if you’re looking to use C# in performance-critical applications, then the following phrases should enter your mind as well: performance, speed, and memory usage. If […]

.NET
5 Reasons Why You Should Learn C#
The C# programming language, also called C Sharp, has gained significant popularity in recent years due to its introduction with Microsoft’s .NET Framework and it’s continued growth in both the business world and the gaming community. Although it is similar to other object-oriented languages like Java and C++, it was designed to address common criticisms of those languages in an effort to create a […]

.NET
+15 (Important) Tips to Writing Clean C# Code in 2023
One of the most important skills of a C# programmer is writing clean, efficient code that performs well and can be easily maintained by others who will inherit your code after you’ve moved on to other projects. This can seem like an impossible task, as there are many factors to consider when writing C# code, […]

.NET
C# in 2023: The MOST POPULAR Programming Language?
Who would have thought that we are already in the year 2023 and that C# has been with us for 22 years? A programming language so versatile and powerful that it easily stands up to any other. A language so complete that these days it wants to make history: Right now it is the main […]

.NET
C# Implicit vs Explicit Conversion: Differences + Examples
After many years programming in .NET, you may have already realized that the framework allows us, in a very simple way, to make conversions between different types of data. Conversions can be of 2 types 👇 Implicit Conversions Implicit conversions are for which it is not necessary to indicate the conversion in parentheses (…). In the code we assign […]

.NET
RIP Copy and Paste from Stackoverflow! (+Trojan Source Solution)
According to a recent research by Cambridge University’s Nicholas Boucher and Ross Anderson, there are two vulnerabilities that impact most code compilers. These sorts of vulnerabilities have an impact on software supply chains; for example, if an attacker successfully commits code injection by deceiving human reviewers, future software is likely to inherit the vulnerability. But […]

.NET
7 Common MISTAKES made by C# developers (+ How to avoid them)
Developers will always make mistakes; no one is impeccable. Many of them, particularly C# developers, learn and grow via trial and error. I prefer to refer to it as “transitioning” from junior to senior developer. Although this “technique” of trial and error works, if a developer does not identify errors, they might cause several efficiency […]

.NET
⚰️C# in 2023 — Will it die?
👉 C# is a dead programming language. 👉 C# is useless 👉 C# is a poor programming language You’ve obviously heard about it, which is what brought you to this article. I’ll reveal the full truth, and you’ll decide if C# programming should be pursued. Before we begin, there is a lot of uncertainty regarding […]

C#
+20 C# Tips that you MUST know NOW!!!
If you have taken a call to grow your career in the information technology sector, knowledge of coding is essential. It is the most in-demand skill in the industry. Thus, the programming knowledge you gain and practice, in the beginning, is priceless. Here are more than 15 good C# tips and tricks for these 2022 […]

.NET
Const vs Readonly in C#: Differences, Pros & Cons
When working with variables and fields in C# applications, you’ll often encounter the decision between using const and readonly. Both may seem similar at first glance, but they have subtle differences that can significantly impact your code. Let’s dive into a detailed comparison of const vs readonly in C# and learn how to make the […]