I would like to devote today's article to 4 expressions that you have probably used more than once when writing queries using LINQ. I'm talking about First, FirstOrDefault, Single and SingleOrDefault. Admit it, do you really know in [...]
ASP.NET MVC developers know that data can be passed from a controller to a view in a variety of ways. The most popular way is to use ViewModel, but you can also use ViewBag, ViewData and TempaData, among others, but what is [...]
When writing applications, you will often use ready-made libraries and classes that were written by other people and you will not have access to their source code. If you need a method that is not in a given class, you will probably [...]
In a previous blog post, I touched on exception handling in C#. I've introduced you to some popular methods of throwing exceptions that are often used by programmers. Then I also mentioned that if we want to handle an [...]
An integral part of developers' work is fixing bugs in the application. It is not so easy to predict all scenarios of how users will work with your application. That's why sometimes (or maybe even often) they report errors (which may [...]
When you create a new class in C# from Visual Studio, are you often annoyed that the class is created by default without a public access modifier? A class that does not have an explicitly defined access modifier has internal access [...]
When starting your adventure with programming, it is worth sticking to good practices from the very beginning. It's not just about writing code, but also about using the tools we use. In today's article, I wanted to share with you the [...]
A person who starts learning programming has many options. There are a lot of materials and methods of learning, but what is the best way to learn programming these days to get the best results? When I took my first steps in [...]