async/await - am I using the wrong synchronisation context?
问题 Apparently i did not understand async/await yet and the following basic example already causes some headache: For test purposes i create a Window which represents my UI for now and i want to fire an asynchronous method which does some work in the background when the window opens. I added a Listview to my window to test if the UI is responding. When i execute the following code, two things happen that i do not understand: My ListView shows the CustomObjects that i define in the constructor.