Skip to content

Commit 6a4db98

Browse files
authored
Minor formatting
1 parent df2d102 commit 6a4db98

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dotnet/Search/BingEntitySearchv7.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@ namespace BingEntitySearch
66
{
77
class Program
88
{
9+
// Add your key and endpoint to your environment variables.
10+
static string key = Environment.GetEnvironmentVariable("BING_ENTITY_SEARCH_SUBSCRIPTION_KEY");
911
static string endpoint = Environment.GetEnvironmentVariable("BING_ENTITY_SEARCH_ENDPOINT");
1012
static string path = "/bing/v7.0/entities/";
1113

1214
static string market = "en-US";
1315

14-
// NOTE: Replace this example key with a valid subscription key.
15-
static string key = Environment.GetEnvironmentVariable("BING_ENTITY_SEARCH_SUBSCRIPTION_KEY");
16-
1716
static string query = "italian restaurant near me";
1817

1918
async static void Search()

0 commit comments

Comments
 (0)