Skip to content

Commit c3fd4bd

Browse files
committed
removed duplicated code snippets
1 parent b0d8778 commit c3fd4bd

File tree

13 files changed

+6
-182
lines changed

13 files changed

+6
-182
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
@@ -55,7 +55,7 @@ Start by creating a .NET class library project named "StringLibrary" and an asso
5555

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

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

6060
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.
6161

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

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

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

9898
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.
9999

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

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

6060
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.
6161

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

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

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

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

9292
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)