Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
545 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
Software ==> | Visual C# (55 exercises) |
Topic ==> | Data structures (6 exercises) |
Level ==> | Average difficulty |
Subject ==> | C# training |
This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.
In a new or existing project, add the form in the above folder called frmShoppingList to get this:
The return of the shopping list application ...
Create a structure called ShoppingListItem to hold each shopping list item, with 3 write-only fields and a read-only property called Description.
Create a private variable in your form to hold a list of ShoppingListItem structures.
Attach code to the Add item button so that each time you choose to add an item, Visual Studio:
adds a new ShoppingListItem structure to your ShoppingList list, then
loops over the items in this list to compile the text to display in the right-hand list:
Just after adding a fourth item to our list.
When you're satisfied your system is working, close everything down!
You can find other training resources for the subject of this exercise here:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.