title: Expected class, delegate, enum, interface, or struct error
body: <p>I'm trying to get this code out for display but its giving me this error. Is anyone able to help?
  Hints and suggestions will be good enough as long as I know where I went wrong.</p>
  
  <pre><code>public ObservableCollection&lt;PData&gt; Data = new ObservableCollection&lt;PData&gt;()  
          {
  
                  new PData() { title = "slice #1", value = 30 },  
                  new PData() { title = "slice #2", value = 60 },  
                  new PData() { title = "slice #3", value = 40 },  
                  new PData() { title = "slice #4", value = 10 },
  
          };
  
              private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)  
              {  
                  pie1.DataSource = Data;  
              }  
  
  
      public class PData  
      {  
          public string title { get; set; }  
          public double value { get; set; }  
      }  
  </code></pre>