dotnet / dotnet/dotnet-api-docs

ambiguous examples

Open
#1,385 0 comments 0 reactions 0 assignees View on GitHub
area-System.IO dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

unclear which (path1..pathN) sourcefield (e.g. c: and temp) flows into result. Should change existing
string path1 = "c:\\temp";
string path2 = "subdir\\file.txt";
string path3 = "c:\\temp.txt";
string path4 = "c:^*&)(_=@#'\\^.*(.txt";
to this
string path1 = "c:\\temp";
string path2 = "subdir\\file.txt";
string path3 = "d:\\test.txt";
string path4 = "e:^*&)(_=@#'\\^.*(.txt";
and remember to change the results!

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: aac00ba0-5181-9c04-fc8d-7263adcd3636
* Version Independent ID: a5b123f2-2ed2-cc15-e1f3-bd117b7b1275
* Content: [Path.Combine Method (System.IO)](https://docs.microsoft.com/en-us/dotnet/api/system.io.path.combine?f1url=https%3A%2F%2Fmsdn.microsoft.com%2Fquery%2Fdev15.query%3FappId%3DDev15IDEF1%26l%3DEN-US%26k%3Dk(System.IO.Path.Combine);k(TargetFrameworkMoniker-.NETFramework,Version%3Dv4.6);k(DevLang-csharp)%26rd%3Dtrue&view=netframework-4.7.2)
* Content Source: [xml/System.IO/Path.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.IO/Path.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.