Your email address belongs to a school and you are eligible for a free educational premium account.
Learn more

CS - Visual C# Source Code File

What is a CS file

Files with the CS extension contain source code written in the object-oriented programming language C#. It is commonly used with Microsoft's .NET Framework. The files are used for application development. Those applications can range from simple desktop applications to more complex programs, all developed using C# as the prime programming language.

The main association of CS files is with Microsoft's Visual C# program which is part of Microsoft Visual Studio. Other, third-party programs that support syntax highlighting can view CS files as well. To properly run a CS file, it has first to be compiled.

Here's a small, but not exhaustive list of programs that can open CS documents:

  • Adobe Dreamweaver (Windows & Mac)
  • ES-Computing EditPlus (Windows)
  • IC Code SharpDevelop (Windows)
  • Microsoft Visual Studio (Windows)
  • MonoDevelop (Windows, Mac & Linux)
  • Notepad++ (Windows)
About
Extension CS
MIME type n/a
Useful links