I have created one class in c# having one function which I open file by using
storageFolder.OpenStreamForReadAsync(filename);
further I have read that file and made some calculation and stored that calculations in the class properties.
In MainPage.xaml.cs I have created object of above mentioned class and called the function. When I debug that I found that control comes at the above mentioned line and disappears and goes back to the MainPage.xaml.cs. It do not opens file do not give any
exception. I have already set credentials to read that file in the manifest file.
Some times when I stop for some times while debugging then control again comes back at the above mentioned line starts further execution in that function.
What is the reason behind this?