アプリケーション用のデータベースを作成しましたが、それは sdf データベースを使用しています。データベースにクエリを実行して ObservableCollection に入れると、情報を取得できますが、その中の要素にアクセスするにはどうすればよいですか? 何か助けはありますか?
var mathItemsInDB = from Math_Info math in mathDB.Math_Information
                            where math.mathID == 0 select math;
        Math_Info_Items = new ObservableCollection<Math_Info>(mathItemsInDB);
        base.OnNavigatedTo(e);
    }
    private void displayProblem()
    {   
        //here i would like to display the mathproblem fetched from the db and not an already created array
        this.MathProblem.Text = mathProblems[problemNumber];    //displays the mathproblem/equation
    }