Free mag vol1 | Page 675

CHAPTER 16  DYNAMIC TYPES AND THE DYNAMIC LANGUAGE RUNTIME The DataGridView control is filled with some initial data by handling the form’s Load event as so (the Car class used as the type parameter for the generic List is a simple class in the project with Color, Make, and PetName properties):