Switch guideC# editor

Keep useful C# examples ready for next time.

Draft a helper, inspect pasted source, or keep a code review note. C# mode saves source locally in your browser and keeps it alongside your other notes.

Open full editor

Your local draft

The notebook’s editing tools, right here. Save to notebook when you want a named copy.

Open editor

Enable JavaScript to edit here, or open the full editor above. The example and guide are always available.

This draft is shared with the full editor for this task and stays separate from named notes. Export a copy or save to notebook to include it in a notebook backup. This editor page and its tools reopen offline after the editor reports readiness. Informational and privacy guides need a connection.

Get started

  1. Create a note and choose C#, or import a .cs file.
  2. Edit the source, search for a symbol, or insert a built-in snippet.
  3. Compare a revision in the split panes when needed.
  4. Download the source and check it in your .NET environment.

Open editor takes you to the draft on this page. Paste or open a source file, or choose Try this example. Save to notebook keeps a named copy with your notes. Your workspace style stays unchanged.

Ready.cs C#
using System;

class Ready {
    static void Main() {
        Console.WriteLine("Ready for review");
    }
}
An editable C# example. Run it in your own .NET environment.Try this example

Edit, compare, and keep reusable source

Import .cs source or choose C# in the searchable language chooser. Use find and replace, line numbers, comment toggling, and comparison panes to review changes. Save a useful selection as a snippet or start with a built-in example.

Source highlighting uses a lightweight language mode. Large documents use background highlighting; this is syntax coloring rather than a compiler or full language service.

Run and check code in your .NET environment

The notebook does not execute C#, resolve dependencies, or compile a project. Formatting and minification are unavailable for this mode, so source text stays under your control.

Download the .cs source to run it in your own .NET environment. Local notes do not synchronize between devices; export a backup to keep a separate copy.

A few questions

Does this run C# code?

No. It edits and highlights source. Use your own .NET environment to run, compile, and validate it.

Can I edit offline?

Yes, after initial online setup shows Ready to use offline. Notes remain in this browser on this device.