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 21 2023
Converting string to enum at the cost of 50 GB: let's analyze the CVE-2020-36620 vulnerability
Sergey Vasiliev
In this article, we're going to discuss the CVE-2020-36620 vulnerability and see how a NuGet package for converting string to enum can make a C# application vulnerable to DoS...
...
Feb 10 2023
Should we check libraries before using them? MudBlazor helps us find the answer
Nikita Panevin
There was a need in our company to use a library for Blazor components. We chose MudBlazor and checked its code quality before implementation. The result is a number of strange things and even...
...
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
Wave Function Collapse for procedural generation in Unity
Andrey Moskalev
Wave Function Collapse is an algorithm that can generate anything by arranging it according to rules or samples. In this article, we are going to look at how to use WFC to generate a map in...
...
Jan 10 2023
PVS-Studio now analyzes Blazor components
Aleksey Avdeev
Hello everyone. This is a small article about how PVS-Studio analyzes Blazor components. We'll try to anticipate your questions and answer them here...
...
Jan 05 2023
How to create a .NET library: a complete guide
Guest
Looking to build a .NET library, but unsure where to begin? Already developing something similar, but want to discover something new? Looking for ways to extend automation? Not sure what to do...
...
Dec 28 2022
Top 10 bugs found in C# projects in 2022
Nikita Lipilin
In 2022, the PVS-Studio developers wrote lots of articles where they described bugs found in open-source projects. Now it's time to choose the most interesting...
...
Dec 21 2022
PVS-Studio and protobuf-net: best warnings are one click away
Artem Rovenskii
Let's delve into best practice of getting acquainted with PVS-Studio. We'll show you a quick start of working with the analyzer using protobuf-net as an...
...
Dec 19 2022
Help the compiler, and the compiler will help you. Subtleties of working with nullable reference types in C#
Nikita Panevin
Nullable reference types appeared in C# 3 years ago. By this time, they found their audience. But even those who work with this "beast" may not know all its capabilities. Let's figure out how to...
...
Dec 14 2022
.NET 7: suspicious places and errors in the source code
Sergey Vasiliev
.NET 7 has been released! It's time for us to dig into its source code and start looking for errors and strange code fragments. In this article, you'll see comments on our findings from the...
...
Nov 30 2022
How has LINQ performance enhanced in .NET 7?
Mikhail Evtihevich
New version of .NET enhanced the performance of the Min, Max, Average and Sum methods for arrays and lists. How much do you think their execution speed has increased? 2x or 5x? No, they got...
...
View more Pagination arrow previous
Showing: - of 179