Alien-Factory

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.

  1. Hello Fantom!
  2. Literals
  3. Maps and Lists
  4. Fields
  5. Methods
  6. Classes
  7. Mixins
  8. Packaging
  9. Bonus! - Unit Testing!
  10. 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.


Discuss