C Sharp to Boo

From Unify Community Wiki
Revision as of 03:05, 12 January 2013 by Highway900 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Finding the difference in C# and Boo can be trying at the best of times. So hopefully there is something here to help you use Boo.

Variable definition:

var1 as int var2 as int = 2 var3 as single = 1.0 # single precision floating point number var4 as double = 2.2342352 # double precision floating point number

Collections:

  1. Lists

myList1 as List myList2 as List = List() # instantiates new List object myList3 as List = List(1, 2, 3)

myList.Add(4)

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox