The C# questions were only shown to the developers who chose C# as one of their three primary programming languages.

C#

What versions of C# do you regularly use?

2021
2020
27%/27%27%/27%39%/48%50%/52%30%/ - 5%/6%12%/10%C# 5 (async / await, caller info attributes)C# 6 (? and nameof operators, static imports, exception filters, Roslyn)C# 7 (pattern matching, local functions, ref locals and returns, out variables)C# 8 (static local functions, nullable reference types, default interface methods)C# 9 (records, target-typed new, top-level statements)An earlier versionI'm not sure

Khalid Abuhakmeh.NET Developer Advocate at JetBrains
@buhakmeh

“In my experience, developers target newer versions of C# but don’t use all of the language features immediately. ReSharper and Rider’s language usage opportunity inspections and quick fixes are a great way to learn about the latest additions to C#.”

Which programming languages are you using in your .NET project?

C#HTML/CSSJavaScriptTypeScriptVB.NETF#OtherC#99%HTML/CSS36%JavaScript33%TypeScript20%VB.NET6%F#3%Other1%

Maarten Balliauw.NET Developer Advocate at JetBrains
@maartenballiauw

“It seems that nowadays .NET developers mostly do C# combined with a web language (43% overall).”

What runtimes do you regularly use?

2021
2020
66%/68%62%/75%33%/ -12%/13%.NET Core.NET Framework.NET 5Mono

Maarten Balliauw.NET Developer Advocate at JetBrains
@maartenballiauw

“There really only seem to be 2 types of .NET nowadays: the “old”, and the “new”. I hope .NET 6 will start bringing these two ecosystems together again.”

Which technologies / frameworks do you use?

2021
2020
55%/55%42%/43%38%/42%28%/31%23%/ -22%/26%20%/ -20%/22%ASP.NET CoreEntity FrameworkASP.NET MVCWindows FormsRazor pages/MVCWindows Presentation Foundation (WPF)AngularAzure
All results

Options with small shares were added to this question this year.

Which IDE / editor do you mostly use for C# development?

62%Visual Studio
27%JetBrains Rider
9%Visual Studio Code
2%Visual Studio for Mac
1%Other

What plugins do you use with Visual Studio?

39% 8% 5% 4% 4% 4% 2% 2% 4%46%ReSharperCodeMaidReSharper C++Visual AssistAWS Toolkit for Visual StudioRoslynatorCodeRushPostSharpOtherNone

Maarten Balliauw.NET Developer Advocate at JetBrains
@maartenballiauw

“It is great to see that productivity tools like ReSharper / CodeMaid / CodeRush / Roslynator are used a lot by the community.”

What plugins do you use with Visual Studio Code?

46%40%28%27%21%18%17%16%C# ExtensionsC# for Visual Studio Code.NET Core ToolsNuGet Package ManagerC# SnippetsUnity ToolsESLintUnity Code Snippets
All results

What operating system is your C# development environment using?

2021
2020
82%/81%30%/37%17%/21% 0%/1%WindowsmacOSLinuxOther

Which unit-testing frameworks do you regularly use, if any?

37%37%19%17% 8% 8% 2%xUnitNUnitMSTest/Visual Studio Unit Testing FrameworkI don’t write unit tests for C#MSTest V2I write unit tests, but don’t use any frameworksOther

What performance or diagnostic tools do you regularly use?

35%18%17% 4% 3% 2% 1% 1% 1% 3%46%Visual Studio's built-in performance and diagnostic toolsdotTracedotMemoryWindows Performance ToolkitPerfViewDynamic Program AnalysisANTS Memory ProfilerANTS Performance ProfilerIntel VTune AmplifierOtherNone

Thank you for your time!

We hope you found our report useful. Share this report with your friends and colleagues.

Join JetBrains Tech Insights Lab

Take part in surveys and UX studies to make JetBrains products easier to use yet even more powerful. For participating in our research, you’ll also get the chance to earn rewards.

If you have any questions or suggestions, please contact us at surveys@jetbrains.com.