Created
March 31, 2021 16:02
-
-
Save babaktaremi/0b10b5a3f8cb2f147fd64f2e3001d70b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SomeTask | |
{ | |
public Task<string> GetGoogleContent() | |
{ | |
using HttpClient client = new HttpClient(); | |
return client.GetStringAsync("https://google.com"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment