Skip to content
Novus Examples
cs

What is a .cs file?

text/x-csharp

C# (.cs) is a plain-text source file for Microsoft's C# language — a statically typed, object-oriented language on .NET. It features classes, records, LINQ, async/await, and nullable reference types.

How to use a .cs file

Use an example .cs file to test syntax highlighters, Roslyn-based analyzers, formatters (dotnet format), and language-detection tooling.

Convert a .cs file to another format

← All file formats