1---
2title: C#
3description: "Configure C# language support in Zed, including language servers, formatting, and debugging."
4---
5
6# C#
7
8Note language name is "CSharp" for settings not "C#'
9
10C# support is available through the [C# extension](https://github.com/zed-extensions/csharp).
11
12- Tree-sitter: [tree-sitter/tree-sitter-c-sharp](https://github.com/tree-sitter/tree-sitter-c-sharp)
13- Language Server: [OmniSharp/omnisharp-roslyn](https://github.com/OmniSharp/omnisharp-roslyn)
14
15## Configuration
16
17The `OmniSharp` binary can be configured in a Zed settings file with:
18
19```json [settings]
20{
21 "lsp": {
22 "omnisharp": {
23 "binary": {
24 "path": "/path/to/OmniSharp",
25 "arguments": ["optional", "additional", "args", "-lsp"]
26 }
27 }
28 }
29}
30```