Wiki

Changes between Version 2 and Version 3 of ExpressionTour

Show
Ignore:
Timestamp:
06/20/10 04:17:46 (15 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExpressionTour

    v2 v3  
    4545big = 10_000_000 
    4646}}} 
     47 
     48== Boolean == 
     49 
     50Boolean expressions include the literals `true` and `false` as well as operations such as `and`, `or`, `not`, comparisons and other tests. 
     51{{{ 
     52#!python 
     53obj.isActive = true 
     54if obj.isActive, .doSomething 
     55}}} 
     56 
     57== Strings == 
     58 
     59to-do (literals, immutable, common methods, stringbuilder, msdn reference) 
     60 
     61== Calling Methods == 
     62 
     63to-do (don't need empty parens, calling on "this", calling base) 
     64 
     65== Instantiating Types == 
     66 
     67to-do (use parens, keyword args for properties, combining enums, works on System.Type and dynamic)