In this chapter, you will
Discover how the keyboard works in Microsoft XNA.
Use enumerated types.
Use arrays and references.
Work with strings of text.
Create a message board program.
The Xbox itself does not have a keyboard, but you can plug any Universal Serial Bus (USB) keyboard into an Xbox and it will work. XNA programs use the keyboard in the same way whether they are running on an Xbox or a Microsoft Windows PC. In this chapter, you explore how you can use the keyboard in your XNA games. At the same time, you find out more about how C# programs can manipulate text.