Skip to content

Commit 1d5e621

Browse files
authored
Fix broken samples links for String.Format and DateTime.Parse (#4243)
* link to published samples
1 parent db60afc commit 1d5e621

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

xml/System/DateTime.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5121,7 +5121,7 @@ Numerous examples that call the `DateTime.Parse` method are interspersed through
51215121

51225122
[!INCLUDE[interactive-note](~/includes/csharp-interactive-with-utc-note.md)]
51235123

5124-
You can also download a complete set of `DateTime.Parse` examples, which are included in a [.NET Core 2.0 project for C#](https://github.com/dotnet/samples/raw/master/snippets/csharp/downloads/api/System/DateTime.Parse.zip) and a [.NET Core 2.0 project for Visual Basic](https://github.com/dotnet/samples/raw/master/snippets/visualbasic/downloads/api/System/DateTime.Parse.zip), from the [dotnet/samples GitHub repository](https://github.com/dotnet/samples).
5124+
You can also download a complete set of `DateTime.Parse` examples, which are included in a [.NET Core project for C#](https://docs.microsoft.com/samples/dotnet/samples/datetime-parse/).
51255125

51265126
]]></format>
51275127
</remarks>

xml/System/String.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5538,7 +5538,7 @@ In contrast, the use of interpolated strings in the following example produce mu
55385538

55395539
Numerous examples that call the <xref:System.String.Format%2A> method are interspersed through the [Remarks](#remarks-top) section of this article.
55405540

5541-
You can also download a complete set of `String.Format` examples, which are included a [.NET Core 2.0 project for C#](https://github.com/dotnet/samples/raw/master/snippets/csharp/downloads/api/System/String.Format.zip) and a [.NET Core 2.0 project for Visual Basic](https://github.com/dotnet/samples/raw/master/snippets/visualbasic/downloads/api/System/String.Format.zip), from the [dotnet/samples GitHub repository](https://github.com/dotnet/samples).
5541+
You can also download a complete set of `String.Format` examples, which are included a [.NET Core project for C#](https://docs.microsoft.com/samples/dotnet/samples/string-format/).
55425542

55435543
The following are some of the examples included in the article:
55445544

0 commit comments

Comments
 (0)