Anyfile is in beta, so a few things may not work perfectly yet. Tell us what you find

C# file

Open and edit CS files

You can open, view and edit CS files for free right here in your browser, without Visual Studio and without uploading anything. Source code in C#, the language Microsoft introduced with .NET in 2000, designed by Anders Hejlsberg. It is object-oriented and runs on the .NET runtime.

Files are converted in your browser and never uploaded. By using Anyfile you agree to the Terms of Use.

View a CS file without Visual Studio

Open and viewYes
EditYes
Create a new oneNot yet
Save as CSYes, keeping what Anyfile doesn’t show
FormatBy Microsoft, since 2000

Edit CS files

Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them.

More about the text and code editor

.cs

C# file

Source code in C#, the language Microsoft introduced with .NET in 2000, designed by Anders Hejlsberg. It is object-oriented and runs on the .NET runtime.

Windows and web apps, back-end services and Unity games.

Opens in Visual Studio, Rider, VS Code, any text editor

Questions

How do I open a CS file without Visual Studio?

Drop it on this page, or choose it. It opens in Anyfile’s text and code editor right in your browser, with nothing to install and no account.

Can I edit a CS file online for free?

Yes. Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them..

Is my CS file uploaded?

No. It opens, changes and saves on your device. Nothing is sent to a server.