A comprehensive, example-driven guide for translating systems-level Rust code into modern, idiomatic C# using .NET 8+.
Hosted with ❤️ via MkDocs Material and deployed to GitHub Pages.
- 🔄 Side-by-side syntax comparisons (Rust ⇄ C#)
- 🧠 Conceptual mappings for traits, memory, error handling, async, and more
- 🧪 Real-world examples like binary parsing, config files, and HTTP clients
- 🔧 Tooling, build, testing, and deployment guides
- 🔁 Reverse reference: From C# to Rust
# Clone the repo
git clone https://github.com/YOUR_USERNAME/rust-to-csharp-handbook.git
cd rust-to-csharp-handbook
# (Optional) Create a virtual environment
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
# Install dependencies
pip install -r requirements.txt
# Serve locally
mkdocs serve
mkdocs gh-deploy --clean
Pull requests welcome!
Open an issue if you'd like to suggest a topic or correction.
MIT License