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

Posts: C# articles

Sep 07 2021
PVS-Studio C#: what to do if project preparation takes too long or freezes?
Sergey Vasiliev
Some users of the PVS-Studio C# analyzer faced a problem: the project preparing stage either took much time or even froze. This article covers how the problem manifested itself and how we fixed...
...
Aug 30 2021
What's new in C# 9: overview
Konstantin Volohovsky
Although C# 9 came out over half a year ago, the community is still processing its immense list of changes and has yet to discover best practices for the new features. It's a great excuse to go...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
XSS: attack, defense - and C# programming
Valery Komarov
XSS - or cross-site scripting - is one of the most common vulnerabilities in web applications. It has been on the OWASP Top 10 list (the list of the most critical security risks to web...
...
Aug 20 2021
Tutorial: how to port a project from Interop Word API to Open XML SDK
Victoria Khanieva, Sviatoslav Razmyslov
With the .NET5 release further development of some projects was questionable due to the complexity of porting. One can abandon small outdated libraries or find a replacement. But it's hard to...
...
Aug 17 2021
Is PHP compilable?! PVS-Studio searches for errors in PeachPie
Nikita Lipilin
PHP is widely known as an interpreted programming language used mainly for website development. However, few people know that PHP also has a compiler to .NET – PeachPie. But how well is it made...
...
Aug 11 2021
Optimization of .NET applications: a big result of small edits
Sergey Vasiliev
Today we're going to discuss how small optimizations in the right places of the application can improve its performance. Imagine: we remove the creation of an extra iterator in one place, get rid...
...
Aug 09 2021
VSCode: how to view reports of static analyzers that support SARIF
Nikolay Mironov
People increasingly start optimizing the process of finding code errors using static analyzers. Nowadays, we can choose from a variety of products to view analysis results. This post covers the...
...
Jul 21 2021
Enums in C#: hidden pitfalls
Sergey Vasiliev
C# has low barriers to entry and forgives a lot. Seriously, you may not understand how things work under the hood but still write code and remain easy-going about this. Though you still have to...
...
Jun 30 2021
Nintendo Switch: drop test of the Ryujinx emulator's source code
Danila Karpov
Each generation, companies like Sony, Microsoft and Nintendo delight their consumers with new consoles and different games for them. Yet there is a caveat - some games exclusively run on...
...
Jun 21 2021
How WCF shoots itself in the foot with TraceSource
Nikolay Mironov
We don't often get the chance to write something on parallel programming issues. This time we "got lucky". The TraceEvent standard method has some implementation peculiarities. They resulted in...
...
View more Pagination arrow previous
Showing: - of 218