一个跨平台的 C# 编辑器和演示区。
A cross-platform C# editor and playground.
NetPad is a C# playground that lets you run C# code instantly, without the hassle of creating and managing projects. Open NetPad, start coding, hit Run, and see your output immediately. It's that simple.
See Features.
If you like this project, please star it :star2: and consider sponsoring!
This project aims to create an open-source, cross-platform alternative to LINQPad. NetPad can run as a native desktop app or in a web browser, and aims to cover the most commonly used features while introducing new ones of its own.
Join the Discord server to collaborate, ask questions and get the latest announcements.
The following must be installed to use NetPad:
Additional requirement if you plan to create and use database connections:
NetPad comes in 2 variants:
netpadnetpad_vnextBoth variants have the same features and are equally maintained. The Native (vNext) variant is planned to become the main package, at which point the Electron variant may be deprecated.
[!NOTE] On macOS see this if you have trouble opening NetPad.
These packages are maintained by community members.
| Installer | Channel | Command |
|---|---|---|
| stable | yay -S netpad-bin |
|
| vNext | yay -S netpad-vnext-bin |
|
| stable | winget install --id=TareqImbasher.NetPad -e |
|
| vNext | winget install --id=TareqImbasher.NetPad.vNext -e |
NetPad checks for updates on startup and will notify you when a new version is available. The latest version can always be downloaded from the Releases page.
The Wiki is a great place to find more information about NetPad. See the Troubleshooting page if you run into any issues.
npad): Run scripts, standalone C# files, and inline code directly from the terminal. Install with dotnet tool install -g netpad.cli. WikiUtil.Secrets. WikiAll Pull Requests, feedback and contributions are welcome! Please read the Contributing guidelines for more information about how to contribute and build/run the project.
A special thanks to NetPad's wonderful sponsors. Sponsorships help pay for macOS builds and cross-platform testing and helps me maintain this project.
If you enjoy using NetPad and would like to support its continued development, consider sponsoring the project. A small contribution helps immensely with maintenance and the addition of new features. Thank you for your support! :heart:
See CONTRIBUTING.md for instructions on how to build and run NetPad from source. NetPad can be run as a desktop app or as a web application accessed with a web browser.
暂无开放 Issues,或尚未同步最近议题。