Let's start by creating a reusable application to demonstrate a number of different operators.
Start by creating a new Windows Phone Application. Once it is open, add references to
Add just one control to the XAML file, a
VerticalAlignment, both set to
stretch and with the name
Messages. You will use this to display the output for each iteration of this program.
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <ListBox Name="Messages" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="10" /> </Grid>
Next, add using statements for
Microsoft.Phone.Reactive, as follows: ...