I would like to declare some data in my Silverlight for Windows Phone 7 application. I'm not sure what the syntax is.
For example:
public class Person
{
public string Name {get; set;}
public int Age {get; set;}
}
<Application.Resources>
<Data x:Name="People">
<Person Age="2" Name="Sam" />
<!-- ... -->
</Data>
</Application.Resources>
Obviously Data
is not a valid tag. What do I want here?