Changes between Version 2 and Version 3 of PortingC
- Timestamp:
- 06/07/10 02:26:22 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortingC
v2 v3 210 210 e.g {{{ ListEvent le = event as ListEvent; ---> le = event to ListEvent }}} 211 211 212 18. String c atenated with expressions (converted to string) can be modified to use string interpolation.213 Put the expressions ( 212 18. String concatenated with expressions (converted to string) can be modified to use string interpolation. 213 Put the expressions (suitably cobra converted) into the string inside [] 214 214 e.g. {{{ "Value " + item.Value + " selected item: " + item.Selected ---> "Value [item.value] selected item:[item.selected]" }}} 215 215 if you have [ and ] symbols, these should be doubled 216 e.g {{{"some constant [ string ]" ---> "some constant [[ string ]]"}}} 216 217 19. Adding eventHandlers 217 218 Cobra uses the '''listen''' statement to register event handlers where C# uses an override on