Skip to content

Instantly share code, notes, and snippets.

@shahzadusman
Created October 6, 2014 15:52
Show Gist options
  • Save shahzadusman/c6e69d4455d064012054 to your computer and use it in GitHub Desktop.
Save shahzadusman/c6e69d4455d064012054 to your computer and use it in GitHub Desktop.
Problem in executing code completly
First line is not returning result so it is not executing remaining three line please help me solve this problem.
string fileName = ftpFileManager.DownloadFileAsync("products2.dat", "foo").Result; // Not returning result
Console.WriteLine(fileName); // Not executing
Console.WriteLine("Done"); // Not executing
Console.ReadLine(); // Not executing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment