Fantom Syntax for C# Programmers
This slideshow shows some of the syntactical differences between Fantom and C#. Each slide displays a concise Fantom code example and explains how it differs from C#.
Click a title below to show the slide above, then mouse hover over it to prevent cycling.
- Hello Fantom!
- Literals
- Maps and Lists
- Fields
- Methods
- Classes
- Mixins
- Packaging
- Bonus! - Unit Testing!
- Bonus! - Null or Not-Null!?
Try out any example online, with the Fantom Coding Ground!
Edits
29 July 2016 - Restyled and reworded as part of the article migration to alienfactory.co.uk.
3 November 2015 - Original article.