App-wide Observable Collection
问题 If I put an Observable Collection inside a separate .cs (class) file and use it in my MainPage.xaml , how can I make it so that all the data stored inside that same Observable Collection is accessible from within a different XAML page at a later time? E.g. MyClass.cs: public ObservableCollection<String> oC = new ObservableCollection<String>(); MainPage.xaml.cs: // add to observable collection SecondPage.xaml.cs: // access and use data stored in ObservableCollection 回答1: I think you just want