Skip to content

Commit 96c71c5

Browse files
committed
delete duplicated code snippets
1 parent 139e51e commit 96c71c5

File tree

13 files changed

+6
-423
lines changed

13 files changed

+6
-423
lines changed

docs/core/tutorials/library-with-visual-studio-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Start by creating a .NET class library project named "StringLibrary" and an asso
5858

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

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

6363
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.
6464

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

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

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

101101
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.
102102

docs/core/tutorials/library-with-visual-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ To create the blank solution:
6262

6363
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.
6464

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

6868
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.
@@ -89,7 +89,7 @@ Add a console application that uses the class library. The app will prompt the u
8989

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

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

9595
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.

docs/core/tutorials/snippets/library-with-visual-studio-6-0/csharp/ShowCase/Program.cs

Lines changed: 0 additions & 37 deletions
This file was deleted.

docs/core/tutorials/snippets/library-with-visual-studio-6-0/csharp/ShowCase/ShowCase.csproj

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/core/tutorials/snippets/library-with-visual-studio-6-0/csharp/StringLibrary/Class1.cs

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/core/tutorials/snippets/library-with-visual-studio-6-0/csharp/StringLibrary/StringLibrary.csproj

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/core/tutorials/snippets/library-with-visual-studio-6-0/csharp/StringLibraryTest/StringLibraryTest.csproj

Lines changed: 0 additions & 21 deletions
This file was deleted.

docs/core/tutorials/snippets/library-with-visual-studio-6-0/csharp/StringLibraryTest/UnitTest1.cs

Lines changed: 0 additions & 52 deletions
This file was deleted.

docs/core/tutorials/snippets/with-visual-studio-6-0/csharp/HelloWorld.csproj

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/core/tutorials/snippets/with-visual-studio-6-0/csharp/Program.cs

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)