Skip to content

Commit 423aac1

Browse files
nemrismBillWagner
authored andcommitted
[csharp] Remove redundant path segment(s) (#13899)
* remove redundant path in /csharp files * remove redundant path in /csharp/getting-started * remove redundant path in /csharp/tutorials files
1 parent e2abe83 commit 423aac1

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

docs/csharp/getting-started/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ The following topics are available:
3737

3838
## Related sections
3939

40-
* [C# Programming Guide](../../csharp/programming-guide/index.md)
40+
* [C# Programming Guide](../programming-guide/index.md)
4141

4242
Provides information about C# programming concepts, and describes how to perform various tasks in C#.
4343

44-
* [C# Reference](../../csharp/language-reference/index.md)
44+
* [C# Reference](../language-reference/index.md)
4545

4646
Provides detailed reference information about C# keywords, operators, preprocessor directives, compiler options, and compiler errors and warnings.
4747

48-
* [Walkthroughs](../../csharp/walkthroughs.md)
48+
* [Walkthroughs](../walkthroughs.md)
4949

5050
Provides links to programming walkthroughs that use C# and a brief description of each walkthrough.
5151

docs/csharp/getting-started/introduction-to-the-csharp-language-and-the-net-framework.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ C# is an elegant and type-safe object-oriented language that enables developers
3838

3939
The following are additional C# resources:
4040

41-
- For a good general introduction to the language, see Chapter 1 of the [C# Language Specification](../../csharp/language-reference/language-specification/index.md).
41+
- For a good general introduction to the language, see Chapter 1 of the [C# Language Specification](../language-reference/language-specification/index.md).
4242

43-
- For detailed information about specific aspects of the C# language, see the [C# Reference](../../csharp/language-reference/index.md).
43+
- For detailed information about specific aspects of the C# language, see the [C# Reference](../language-reference/index.md).
4444

4545
- For more information about [!INCLUDE[vbteclinq](~/includes/vbteclinq-md.md)], see [LINQ (Language-Integrated Query)](../programming-guide/concepts/linq/index.md).
4646

@@ -62,5 +62,5 @@ C# is an elegant and type-safe object-oriented language that enables developers
6262

6363
## See also
6464

65-
- [C#](../../csharp/index.md)
65+
- [C#](../index.md)
6666
- [Getting Started with Visual C# and Visual Basic](/visualstudio/ide/getting-started-with-visual-csharp-and-visual-basic)

docs/csharp/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ There are several sections in the C# Guide. You can read them in order, or jump
4646
* The .NET Compiler Platform SDK enables you to write components that analyze code, and suggest or make improvements to that code. In this section, you'll learn how the APIs are organized, and how you can create code that enables rules and practices for your team. You'll also see samples, end-to-end scenarios, and links to other libraries with more examples using these APIs.
4747
-->
4848

49-
* [C# Programming Guide](../csharp/programming-guide/index.md)
49+
* [C# Programming Guide](./programming-guide/index.md)
5050
* Provides information and practical examples about how to use C# language constructs.
5151

52-
* [Walkthroughs](../csharp/walkthroughs.md)
52+
* [Walkthroughs](./walkthroughs.md)
5353
* Provides links to programming walkthroughs that use C# and a brief description of each walkthrough.
5454

5555
* [Language Reference](language-reference/index.md)
5656
* This section contains the reference material on the C# language. This material helps you understand the syntax and semantics of C#. It also includes reference material on types, operators, attributes, preprocessor directives, compiler switches, compiler errors, and compiler warnings.
5757

58-
* [C# Language Specification](../csharp/language-reference/language-specification/index.md)
58+
* [C# Language Specification](./language-reference/language-specification/index.md)
5959
* Links to the latest versions of the C# language specification.
6060

6161
## See also

docs/csharp/properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ by concatenating the first and last names:
145145

146146
[!code-csharp[A computed property](../../samples/snippets/csharp/properties/Person.cs#10)]
147147

148-
The example above uses the [string interpolation](../csharp/language-reference/tokens/interpolated.md) feature to create
148+
The example above uses the [string interpolation](./language-reference/tokens/interpolated.md) feature to create
149149
the formatted string for the full name.
150150

151151
You can also use an *expression-bodied member*, which provides a more

docs/csharp/tutorials/working-with-linq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public static void Main(string[] args)
137137

138138
However, there's no shuffle method to take advantage of in the standard library, so you'll have to write your own. The shuffle method you'll be creating illustrates several techniques that you'll use with LINQ-based programs, so each part of this process will be explained in steps.
139139

140-
In order to add some functionality to how you interact with the <xref:System.Collections.Generic.IEnumerable%601> you'll get back from LINQ queries, you'll need to write some special kinds of methods called [extension methods](../../csharp/programming-guide/classes-and-structs/extension-methods.md). Briefly, an extension method is a special purpose *static method* that adds new functionality to an already-existing type without having to modify the original type you want to add functionality to.
140+
In order to add some functionality to how you interact with the <xref:System.Collections.Generic.IEnumerable%601> you'll get back from LINQ queries, you'll need to write some special kinds of methods called [extension methods](../programming-guide/classes-and-structs/extension-methods.md). Briefly, an extension method is a special purpose *static method* that adds new functionality to an already-existing type without having to modify the original type you want to add functionality to.
141141

142142
Give your extension methods a new home by adding a new *static* class file to your program called `Extensions.cs`, and then start building out the first extension method:
143143

docs/csharp/walkthroughs.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,33 +15,33 @@ Walkthroughs give step-by-step instructions for common scenarios, which makes th
1515
## In This Section
1616

1717
[Accessing the Web by Using Async and Await](./programming-guide/concepts/async/walkthrough-accessing-the-web-by-using-async-and-await.md)
18-
Shows how to create an asynchronous solution by using [async](../csharp/language-reference/keywords/async.md) and [await](../csharp/language-reference/keywords/await.md).
18+
Shows how to create an asynchronous solution by using [async](./language-reference/keywords/async.md) and [await](./language-reference/keywords/await.md).
1919

2020
[Creating a Windows Runtime Component in C# or Visual Basic and Calling it from JavaScript](/windows/uwp/winrt-components/walkthrough-creating-a-simple-windows-runtime-component-and-calling-it-from-javascript)
2121
Shows how to create a Windows Runtime type, package it in a Windows Runtime component, and then call the component from a [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] app that's built for Windows by using JavaScript.
2222

23-
[Office Programming (C# and Visual Basic)](../csharp/programming-guide/interop/walkthrough-office-programming.md)
23+
[Office Programming (C# and Visual Basic)](./programming-guide/interop/walkthrough-office-programming.md)
2424
Shows how to create an Excel workbook and a Word document by using C# and Visual Basic.
2525

26-
[Creating and Using Dynamic Objects (C# and Visual Basic)](../csharp/programming-guide/types/walkthrough-creating-and-using-dynamic-objects.md)
26+
[Creating and Using Dynamic Objects (C# and Visual Basic)](./programming-guide/types/walkthrough-creating-and-using-dynamic-objects.md)
2727
Shows how to create a custom object that dynamically exposes the contents of a text file, and how to create a project that uses the `IronPython` library.
2828

29-
[Authoring a Composite Control with Visual C#](../../docs/framework/winforms/controls/walkthrough-authoring-a-composite-control-with-visual-csharp.md)
29+
[Authoring a Composite Control with Visual C#](../framework/winforms/controls/walkthrough-authoring-a-composite-control-with-visual-csharp.md)
3030
Demonstrates creating a simple composite control and extending its functionality through inheritance.
3131

32-
[Creating a Windows Forms Control that Takes Advantage of Visual Studio Design-Time Features](../../docs/framework/winforms/controls/creating-a-wf-control-design-time-features.md)
32+
[Creating a Windows Forms Control that Takes Advantage of Visual Studio Design-Time Features](../framework/winforms/controls/creating-a-wf-control-design-time-features.md)
3333
Illustrates how to create a custom designer for a custom control.
3434

35-
[Inheriting from a Windows Forms Control with Visual C#](../../docs/framework/winforms/controls/walkthrough-inheriting-from-a-windows-forms-control-with-visual-csharp.md)
35+
[Inheriting from a Windows Forms Control with Visual C#](../framework/winforms/controls/walkthrough-inheriting-from-a-windows-forms-control-with-visual-csharp.md)
3636
Demonstrates creating a simple inherited button control. This button inherits functionality from the standard Windows Forms button and exposes a custom member.
3737

38-
[Debugging Custom Windows Forms Controls at Design Time](../../docs/framework/winforms/controls/walkthrough-debugging-custom-windows-forms-controls-at-design-time.md)
38+
[Debugging Custom Windows Forms Controls at Design Time](../framework/winforms/controls/walkthrough-debugging-custom-windows-forms-controls-at-design-time.md)
3939
Describes how to debug the design-time behavior of your custom control.
4040

41-
[Performing Common Tasks Using Smart Tags on Windows Forms Controls](../../docs/framework/winforms/controls/performing-common-tasks-using-smart-tags-on-wf-controls.md)
41+
[Performing Common Tasks Using Smart Tags on Windows Forms Controls](../framework/winforms/controls/performing-common-tasks-using-smart-tags-on-wf-controls.md)
4242
Demonstrates some of the commonly performed tasks such as adding or removing a tab on a `TabControl`, docking a control to its parent, and changing the orientation of a `SplitContainer` control.
4343

44-
[Writing Queries in C# (LINQ)](../csharp/programming-guide/concepts/linq/walkthrough-writing-queries-linq.md)
44+
[Writing Queries in C# (LINQ)](./programming-guide/concepts/linq/walkthrough-writing-queries-linq.md)
4545
Demonstrates the C# language features that are used to write [!INCLUDE[vbteclinq](~/includes/vbteclinq-md.md)] query expressions.
4646

4747
[Manipulating Data (C#) (LINQ to SQL)](../framework/data/adonet/sql/linq/walkthrough-manipulating-data-csharp.md)
@@ -65,5 +65,5 @@ Walkthroughs give step-by-step instructions for common scenarios, which makes th
6565

6666
## See also
6767

68-
- [C# Programming Guide](../csharp/programming-guide/index.md)
68+
- [C# Programming Guide](./programming-guide/index.md)
6969
- [Visual Studio Samples](/visualstudio/ide/visual-studio-samples)

0 commit comments

Comments
 (0)