Skip to content

Commit dd8b882

Browse files
authored
Update pathcombine.cs example comment (#4441)
Comment for the last example incorrectly stated the output of the test routine; it showed '' instead of 'null'
1 parent 823c4f5 commit dd8b882

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/snippets/csharp/VS_Snippets_CLR/pathcombine/CS/pathcombine.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private static void CombinePaths(string p1, string p2) {
5757
// When you combine '' and 'subdir\file.txt', the result is:
5858
// 'subdir\file.txt'
5959
//
60-
// You cannot combine '' and 'subdir\file.txt' because:
60+
// You cannot combine 'null' and 'subdir\file.txt' because:
6161
// Value cannot be null.
6262
// Parameter name: path1
63-
//</snippet1>
63+
//</snippet1>

0 commit comments

Comments
 (0)