Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 6 additions & 6 deletions docs/core/tutorials/library-with-visual-studio-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Start by creating a .NET class library project named "StringLibrary" and an asso

1. Open *Class1.cs* and replace the code with the following code.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/StringLibrary/Class1.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/StringLibrary/Class1.cs":::

The class library, `UtilityLibraries.StringLibrary`, contains a method named `StartsWithUpper`. This method returns a <xref:System.Boolean> value that indicates whether the current string instance begins with an uppercase character. The Unicode standard distinguishes uppercase characters from lowercase characters. The <xref:System.Char.IsUpper(System.Char)?displayProperty=nameWithType> method returns `true` if a character is uppercase.

Expand Down Expand Up @@ -96,7 +96,7 @@ Add a console application that uses the class library. The app will prompt the u

1. Open *ShowCase/Program.cs* and replace all of the code with the following code.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/ShowCase/Program.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/ShowCase/Program.cs":::

The code uses the `row` variable to maintain a count of the number of rows of data written to the console window. Whenever it's greater than or equal to 25, the code clears the console window and displays a message to the user.

Expand Down Expand Up @@ -195,7 +195,7 @@ Start by creating a .NET class library project named "StringLibrary" and an asso

1. Open *Class1.cs* and replace the code with the following code.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/StringLibrary/Class1.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/StringLibrary/Class1.cs":::

The class library, `UtilityLibraries.StringLibrary`, contains a method named `StartsWithUpper`. This method returns a <xref:System.Boolean> value that indicates whether the current string instance begins with an uppercase character. The Unicode standard distinguishes uppercase characters from lowercase characters. The <xref:System.Char.IsUpper(System.Char)?displayProperty=nameWithType> method returns `true` if a character is uppercase.

Expand Down Expand Up @@ -231,7 +231,7 @@ Add a console application that uses the class library. The app will prompt the u

1. Open *ShowCase/Program.cs* and replace all of the code with the following code.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/ShowCase/Program.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/ShowCase/Program.cs":::

The code uses the `row` variable to maintain a count of the number of rows of data written to the console window. Whenever it's greater than or equal to 25, the code clears the console window and displays a message to the user.

Expand Down Expand Up @@ -328,7 +328,7 @@ Start by creating a .NET class library project named "StringLibrary" and an asso

1. Open *Class1.cs* and replace the code with the following code.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/StringLibrary/Class1.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/StringLibrary/Class1.cs":::

The class library, `UtilityLibraries.StringLibrary`, contains a method named `StartsWithUpper`. This method returns a <xref:System.Boolean> value that indicates whether the current string instance begins with an uppercase character. The Unicode standard distinguishes uppercase characters from lowercase characters. The <xref:System.Char.IsUpper(System.Char)?displayProperty=nameWithType> method returns `true` if a character is uppercase.

Expand Down Expand Up @@ -364,7 +364,7 @@ Add a console application that uses the class library. The app will prompt the u

1. Open *ShowCase/Program.cs* and replace all of the code with the following code.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/ShowCase/Program.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/ShowCase/Program.cs":::

The code uses the `row` variable to maintain a count of the number of rows of data written to the console window. Whenever it's greater than or equal to 25, the code clears the console window and displays a message to the user.

Expand Down
12 changes: 6 additions & 6 deletions docs/core/tutorials/library-with-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ To create the blank solution:

1. Replace the code in the code window for *Class1.cs* or *Class1.vb* with the following code, and save the file. If the language you want to use isn't shown, change the language selector at the top of the page.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/StringLibrary/Class1.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/StringLibrary/Class1.cs":::
:::code language="vb" source="./snippets/library-with-visual-studio/vb/StringLibrary/Class1.vb":::

The class library, `UtilityLibraries.StringLibrary`, contains a method named `StartsWithUpper`. This method returns a <xref:System.Boolean> value that indicates whether the current string instance begins with an uppercase character. The Unicode standard distinguishes uppercase characters from lowercase characters. The <xref:System.Char.IsUpper(System.Char)?displayProperty=nameWithType> method returns `true` if a character is uppercase.
Expand All @@ -89,7 +89,7 @@ Add a console application that uses the class library. The app will prompt the u

1. In the code window for the *Program.cs* or *Program.vb* file, replace all of the code with the following code.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/ShowCase/Program.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/ShowCase/Program.cs":::
:::code language="vb" source="./snippets/library-with-visual-studio/vb/ShowCase/Program.vb":::

The code uses the `row` variable to maintain a count of the number of rows of data written to the console window. Whenever it's greater than or equal to 25, the code clears the console window and displays a message to the user.
Expand Down Expand Up @@ -196,7 +196,7 @@ To create the blank solution:

1. Replace the code in the code window for *Class1.cs* or *Class1.vb* with the following code, and save the file. If the language you want to use isn't shown, change the language selector at the top of the page.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/StringLibrary/Class1.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/StringLibrary/Class1.cs":::
:::code language="vb" source="./snippets/library-with-visual-studio/vb/StringLibrary/Class1.vb":::

The class library, `UtilityLibraries.StringLibrary`, contains a method named `StartsWithUpper`. This method returns a <xref:System.Boolean> value that indicates whether the current string instance begins with an uppercase character. The Unicode standard distinguishes uppercase characters from lowercase characters. The <xref:System.Char.IsUpper(System.Char)?displayProperty=nameWithType> method returns `true` if a character is uppercase.
Expand All @@ -223,7 +223,7 @@ Add a console application that uses the class library. The app will prompt the u

1. In the code window for the *Program.cs* or *Program.vb* file, replace all of the code with the following code.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/ShowCase/Program.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/ShowCase/Program.cs":::
:::code language="vb" source="./snippets/library-with-visual-studio/vb/ShowCase/Program.vb":::

The code uses the `row` variable to maintain a count of the number of rows of data written to the console window. Whenever it's greater than or equal to 25, the code clears the console window and displays a message to the user.
Expand Down Expand Up @@ -330,7 +330,7 @@ To create the blank solution:

1. Replace the code in the code window for *Class1.cs* or *Class1.vb* with the following code, and save the file. If the language you want to use isn't shown, change the language selector at the top of the page.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/StringLibrary/Class1.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/StringLibrary/Class1.cs":::
:::code language="vb" source="./snippets/library-with-visual-studio/vb/StringLibrary/Class1.vb":::

The class library, `UtilityLibraries.StringLibrary`, contains a method named `StartsWithUpper`. This method returns a <xref:System.Boolean> value that indicates whether the current string instance begins with an uppercase character. The Unicode standard distinguishes uppercase characters from lowercase characters. The <xref:System.Char.IsUpper(System.Char)?displayProperty=nameWithType> method returns `true` if a character is uppercase.
Expand All @@ -357,7 +357,7 @@ Add a console application that uses the class library. The app will prompt the u

1. In the code window for the *Program.cs* or *Program.vb* file, replace all of the code with the following code.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/ShowCase/Program.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/ShowCase/Program.cs":::
:::code language="vb" source="./snippets/library-with-visual-studio/vb/ShowCase/Program.vb":::

The code uses the `row` variable to maintain a count of the number of rows of data written to the console window. Whenever it's greater than or equal to 25, the code clears the console window and displays a message to the user.
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ To create the test methods:

1. Open *StringLibraryTest/UnitTest1.cs* and replace all of the code with the following code.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/StringLibraryTest/UnitTest1.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/StringLibraryTest/UnitTest1.cs":::

The test of uppercase characters in the `TestStartsWithUpper` method includes the Greek capital letter alpha (U+0391) and the Cyrillic capital letter EM (U+041C). The test of lowercase characters in the `TestDoesNotStartWithUpper` method includes the Greek small letter alpha (U+03B1) and the Cyrillic small letter Ghe (U+0433).

Expand Down Expand Up @@ -242,7 +242,7 @@ To create the test methods:

1. Open *StringLibraryTest/UnitTest1.cs* and replace all of the code with the following code.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/StringLibraryTest/UnitTest1.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/StringLibraryTest/UnitTest1.cs":::

The test of uppercase characters in the `TestStartsWithUpper` method includes the Greek capital letter alpha (U+0391) and the Cyrillic capital letter EM (U+041C). The test of lowercase characters in the `TestDoesNotStartWithUpper` method includes the Greek small letter alpha (U+03B1) and the Cyrillic small letter Ghe (U+0433).

Expand Down Expand Up @@ -395,7 +395,7 @@ To create the test methods:

1. Open *StringLibraryTest/UnitTest1.cs* and replace all of the code with the following code.

:::code language="csharp" source="./snippets/library-with-visual-studio-6-0/csharp/StringLibraryTest/UnitTest1.cs":::
:::code language="csharp" source="./snippets/library-with-visual-studio/csharp/StringLibraryTest/UnitTest1.cs":::

The test of uppercase characters in the `TestStartsWithUpper` method includes the Greek capital letter alpha (U+0391) and the Cyrillic capital letter EM (U+041C). The test of lowercase characters in the `TestDoesNotStartWithUpper` method includes the Greek small letter alpha (U+03B1) and the Cyrillic small letter Ghe (U+0433).

Expand Down
Loading
Loading