Update getting-started-with-github-copilot-in-visual-studio.md
Reaming method header to method signature to better match the language guide. [C# Methods](https://docs.microsoft.com/dotnet/csharp/methods)
This commit is contained in:
@@ -50,7 +50,7 @@ To use {% data variables.product.prodname_copilot %}, you must first install the
|
|||||||
{% data reusables.copilot.supported-languages %} The following samples are in C#, but other languages will work similarly.
|
{% data reusables.copilot.supported-languages %} The following samples are in C#, but other languages will work similarly.
|
||||||
|
|
||||||
{% data reusables.copilot.create-c-file %}
|
{% data reusables.copilot.create-c-file %}
|
||||||
1. In the C# file, type the following function header. {% data variables.product.prodname_copilot %} will automatically suggest an entire function body in grayed text, as shown below. The exact suggestion may vary.
|
1. In the C# file, type the following function signature. {% data variables.product.prodname_copilot %} will automatically suggest an entire function body in grayed text, as shown below. The exact suggestion may vary.
|
||||||
```csharp{:copy}
|
```csharp{:copy}
|
||||||
function calculateDaysBetweenDates(begin, end) {
|
function calculateDaysBetweenDates(begin, end) {
|
||||||
```
|
```
|
||||||
@@ -60,7 +60,7 @@ To use {% data variables.product.prodname_copilot %}, you must first install the
|
|||||||
## Seeing alternative suggestions
|
## Seeing alternative suggestions
|
||||||
{% data reusables.copilot.alternative-suggestions %}
|
{% data reusables.copilot.alternative-suggestions %}
|
||||||
{% data reusables.copilot.create-c-file %}
|
{% data reusables.copilot.create-c-file %}
|
||||||
1. In the C# file, type the following function header. {% data variables.product.prodname_copilot %} will show you a suggestion.
|
1. In the C# file, type the following function signature. {% data variables.product.prodname_copilot %} will show you a suggestion.
|
||||||
|
|
||||||
```csharp{:copy}
|
```csharp{:copy}
|
||||||
function calculateDaysBetweenDates(begin, end) {
|
function calculateDaysBetweenDates(begin, end) {
|
||||||
|
|||||||
Reference in New Issue
Block a user