Chapter 18. Collections
WF 4.0 provides some built-in activities that enable you to manipulate a collection in your workflow. In this chapter, you'll build a console application that demonstrates these activities using a shopping list application.
Creating a Collection
Start by creating a console application project in Visual Studio. For the project name, use ShoppingList; for the solution name, enter Chapter18, as shown in Figure 18-1.
Figure 18-1. Creating a console application
From the Solution Explorer, right-click the ShoppingList project and choose Add Reference. From the .NET tab, add a reference to System.Activities
.
Defining the Shopping List ...
Get Beginning WF: Windows Workflow in .NET 4.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.