Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Now lets add a property to the Ingredient class using the Class Details pane.
6 In the Class Details pane, click on <add property> in the Properties section. Type “Name”, and press the Tab key to move to the next field. By default, Visual Studio will set the property type to int.
Type “st” to bring up Intellisense, and set the property type to String (or string).