Skip to content

Instantly share code, notes, and snippets.

View ermaolaoye's full-sized avatar
🎮
Planting the Spike

二猫姥爷 ermaolaoye

🎮
Planting the Spike
  • Beijing, China | Guangzhou, China | London, UK
  • 18:33 (UTC +08:00)
View GitHub Profile
@mrkline
mrkline / c_sharp_for_python.md
Last active June 2, 2025 14:40
An intro to C# for a Python developer. Made for one of my coworkers.

C# For Python Programmers

Syntax and core concepts

Basic Syntax

  • Single-line comments are started with //. Multi-line comments are started with /* and ended with */.

  • C# uses braces ({ and }) instead of indentation to organize code into blocks. If a block is a single line, the braces can be omitted. For example,