Skip to content

Instantly share code, notes, and snippets.

@mkuehle
Created October 28, 2019 08:44
Show Gist options
  • Save mkuehle/edfb247afabbdc99ebf6c3e8c8f07391 to your computer and use it in GitHub Desktop.
Save mkuehle/edfb247afabbdc99ebf6c3e8c8f07391 to your computer and use it in GitHub Desktop.
Beispiele für statsische Typisierung bei Variablen
var int count = 0; // int
var string message = 'hello world'; // string
var List<int> primzahlen = [2, 3, 5, 7, 11]; // Liste von int
var Set<String> haustiere = {'Hund', 'Katze', 'Maus', 'Hase'}; // Set von strings
var bool loading = false; // bool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment