Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
>
C#

Posts: C# articles

Feb 12 2021
Should we initialize an out parameter before a method returns?
Sergey Vasiliev
Surely every C# developer has used out-parameters. It seems that everything is extremely simple and clear with them. But is it really so? For a kickoff, let's start with a self-test...
...
Feb 04 2021
A spy undercover: PVS-Studio to check ILSpy source code
Ilya Gainulin
In PVS-Studio, we often check various compilers' code and post the results in our blog. Decompiler programs, however, seem to be a bit neglected. To restore justice in this world, we analyzed...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
Feb 01 2021
C# Programmer, it's time to test yourself and find error
Valery Komarov
The PVS-Studio analyzer is regularly updated with new diagnostic rules. Curiously enough, diagnostics often detect suspicious code fragments before the end of the work. For example, such a...
...
Dec 24 2020
Top 10 bugs found in C# projects in 2020
Nikita Lipilin
This tough year, 2020, will soon be over at last, which means it's time to look back at our accomplishments! Over the year, the PVS-Studio team has written quite a number of articles covering a...
...
Dec 17 2020
ONLYOFFICE Community Server: how bugs contribute to the emergence of security problems
Sviatoslav Razmyslov
Server-side network applications rarely get the chance to join the ranks of our reviews of errors found in open source software. This is probably due to their popularity. After all, we try to...
...
Dec 16 2020
Talking about errors in the QuantConnect Lean code
Nikolay Mironov
This article discusses errors found using a static analyzer in an open source project. There are some simple things that can help you avoid them. For example, the usage of language...
...
Nov 27 2020
Analyzing the code quality of Microsoft's Open XML SDK
Sviatoslav Razmyslov
My first encounter with Open XML SDK took place when I was looking for a library that I could use to create some accounting documents in Word. After more than 7 years of working with Word API...
...
Oct 30 2020
Check how you remember nullable value types. Let's peek under the hood
Sergey Vasiliev
Recently nullable reference types have become trendy. Meanwhile, the good old nullable value types are still here and actively used. How well do you remember the nuances of working with them...
...
Nullable Reference will not protect you, and here is the proof
Nikolay Mironov
Have you ever wanted to get rid of the problem with dereferencing null references? If so, using Nullable Reference types is not your choice. Do you want to know why? This will be our topic...
...
Aug 13 2020
Unicorns break into RTS: analyzing the OpenRA source code
Nikita Lipilin
This article is about the check of the OpenRA project using the static PVS-Studio analyzer. What is OpenRA? It is an open source game engine designed to create real-time strategies. The...
...
View more Pagination arrow previous
Showing: - of 218