Summary
In this chapter, you learned about the switch
blocks in a drop-down list. You began by inserting a dropbox
and a label
, then you populated the drop-down list, added information to display about each drop-down item, replicated and edited cases, and ran your program to see how selecting an item from the drop-down list displayed its particular information.
In the next chapter, I'll show you how to use a TryParse
method to write more stable and professional code.