Our website uses cookies to enhance your browsing experience.
Accept
to the top
close form

Fill out the form in 2 simple steps below:

Your contact information:

Step 1
Congratulations! This is your promo code!

Desired license type:

Step 2
Team license
Enterprise license
** By clicking this button you agree to our Privacy Policy statement
close form
Request our prices
New License
License Renewal
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

close form
Free PVS‑Studio license for Microsoft MVP specialists
* By clicking this button you agree to our Privacy Policy statement

close form
To get the licence for your open-source project, please fill out this form
* By clicking this button you agree to our Privacy Policy statement

close form
I am interested to try it on the platforms:
* By clicking this button you agree to our Privacy Policy statement

close form
check circle
Message submitted.

Your message has been sent. We will email you at


If you haven't received our response, please do the following:
check your Spam/Junk folder and click the "Not Spam" button for our message.
This way, you won't miss messages from our team in the future.

>
>
>
C#

Posts: C# articles

Mar 04 2021
What is yield and how does it work in C#?
Nikita Lipilin
C# capabilities keep expanding from year to year. New features enrich software development. However, their advantages may not always be so obvious. For example, the good old yield. To...
...
Mar 02 2021
PVS-Studio clashes with hardcoded passwords!
Nikita Lipilin
PVS-Studio is a static analyzer that allows to find many problems hidden in the source code. Among them there are also errors related to application security. For example, the analyzer has...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
* By clicking this button you agree to our Privacy Policy statement
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...
...
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...
...
View more Pagination arrow previous
Showing: - of 180