Skip to content

Instantly share code, notes, and snippets.


Ikem Krueger ikem-krueger

View GitHub Profile
ikem-krueger /
Last active Sep 20, 2020 — forked from mrkline/
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,