Skip to content

Commit

Permalink
remove 'wrench' articles that have been ported (#1298)
Browse files Browse the repository at this point in the history
* remove 'wrench' articles that have been ported

Several not-yet-written articles have been covered by the port of the
C# content from MSDN.  These still need to be reviewed and updated, but
they are all now present.

* configure redirects for deprecated articles.

* don't include the file extension on redirects.

* update the path for redirection

* find and replace links to content that moved.
  • Loading branch information
BillWagner authored Dec 2, 2016
1 parent be9b368 commit 6184474
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 84 deletions.
2 changes: 1 addition & 1 deletion docs/csharp/basic-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ A type can be declared with one or more *type parameters* that serve as a placeh

[!code-csharp[Generic types](../../samples/snippets/csharp/concepts/basic-types/generic-type.cs)]

The use of the type parameter makes it possible to reuse the same class to hold any type of element, without having to convert each element to [object](https://msdn.microsoft.com/library/9kkx3h3c.aspx). Generic collection classes are called *strongly-typed collections* because the compiler knows the specific type of the collection's elements and can raise an error at compile-time if, for example, you try to add an integer to the `strings` object in the previous example. For more information, see [Generics](generics.md).
The use of the type parameter makes it possible to reuse the same class to hold any type of element, without having to convert each element to [object](https://msdn.microsoft.com/library/9kkx3h3c.aspx). Generic collection classes are called *strongly-typed collections* because the compiler knows the specific type of the collection's elements and can raise an error at compile-time if, for example, you try to add an integer to the `strings` object in the previous example. For more information, see [Generics](programming-guide/generics/index.md).

## Implicit types, anonymous types, and tuple types
As stated previously, you can implicitly type a local variable (but not class members) by using the [var](https://msdn.microsoft.com/library/bb383973.aspx) keyword. The variable still receives a type at compile time, but the type is provided by the compiler. For more information, see [Implicitly typed local variables](https://msdn.microsoft.com/library/bb384061.aspx).
Expand Down
2 changes: 1 addition & 1 deletion docs/csharp/classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Inheritance is accomplished by using a *derivation*, which means a class is decl

When a class declares a base class, it inherits all the members of the base class except the constructors.

Unlike C++, a class in C# can only directly inherit from one base class. However, because a base class may itself inherit from another class, a class may indirectly inherit multiple base classes. Furthermore, a class can directly implement more than one interface. For more information, see [Interfaces](interfaces.md).
Unlike C++, a class in C# can only directly inherit from one base class. However, because a base class may itself inherit from another class, a class may indirectly inherit multiple base classes. Furthermore, a class can directly implement more than one interface. For more information, see [Interfaces](programming-guide/interfaces/index.md).

A class can be declared [abstract](https://msdn.microsoft.com/library/sf985hc5.aspx). An abstract class contains abstract methods that have a signature definition but no implementation. Abstract classes cannot be instantiated. They can only be used through derived classes that implement the abstract methods. By contrast, a [sealed](https://msdn.microsoft.com/library/88c54tsw.aspx) class does not allow other classes to derive from it. For more information, see [Abstract and sealed classes and class members](https://msdn.microsoft.com/library/ms173150.aspx).

Expand Down
2 changes: 1 addition & 1 deletion docs/csharp/delegates-strongly-typed.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ after a time. Every new feature requires new delegate types.

Thankfully, this isn't necessary. The .NET Core framework contains several
types that you can reuse whenever you need delegate types. These are
[generic](generics.md) definitions so you can declare customizations
[generic](programming-guide/generics/index.md) definitions so you can declare customizations
when you need new method declarations.

The first of these types is the @System.Action type, and several variations:
Expand Down
17 changes: 2 additions & 15 deletions docs/csharp/generics.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,11 @@ description: Generics
keywords: .NET, .NET Core
author: dotnet-bot
manager: wpickett
ms.date: 06/20/2016
ms.date: 12/01/2016
ms.topic: article
ms.prod: .net-core
ms.technology: .net-core-technologies
ms.devlang: dotnet
ms.assetid: 63d1fe21-bb1f-46e3-92a0-89efcf0815e8
redirect_url: /dotnet/articles/csharp/programming-guide/generics/index
---

# πŸ”§ Generics

> **Note**
>
> This topic hasn’t been written yet!
>
> We welcome your input to help shape the scope and approach. You can track the status and provide input on this
> [issue](https://github.com/dotnet/docs/issues/489) at GitHub.
>
> If you would like to review early drafts and outlines of this topic, please leave a note with your contact information in the issue.
>
> Learn more about how you can contribute on [GitHub](https://github.com/dotnet/docs/blob/master/CONTRIBUTING.md).
>
17 changes: 2 additions & 15 deletions docs/csharp/interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,11 @@ description: Learn about creating and using interfaces in C#
keywords: .NET, .NET Core, C#
author: dotnet-bot
manager: wpickett
ms.date: 06/25/2016
ms.date: 12/01/2016
ms.topic: article
ms.prod: .net-core
ms.technology: .net-core-technologies
ms.devlang: csharp
ms.assetid: be9a19c8-642c-48be-b481-2dab7d216fad
redirect_url: /dotnet/articles/csharp/programming-guide/interfaces/index
---

# πŸ”§ Interfaces

> **Note**
>
> This topic hasn’t been written yet!
>
> We welcome your input to help shape the scope and approach. You can track the status and provide input on this
> [issue](https://github.com/dotnet/docs/issues/967) at GitHub.
>
> If you would like to review early drafts and outlines of this topic, please leave a note with your contact information in the issue.
>
> Learn more about how you can contribute on [GitHub](https://github.com/dotnet/docs/blob/master/CONTRIBUTING.md).
>
17 changes: 2 additions & 15 deletions docs/csharp/interop.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,11 @@ description: Native interoperability
keywords: .NET, .NET Core
author: dotnet-bot
manager: wpickett
ms.date: 06/20/2016
ms.date: 12/01/2016
ms.topic: article
ms.prod: .net-core
ms.technology: .net-core-technologies
ms.devlang: dotnet
ms.assetid: 54485caa-09e0-466c-86fa-6a9aab6c332b
redirect_url: /dotnet/articles/csharp/programming-guide/interop/interoperability
---

# πŸ”§ Native interoperability

> **Note**
>
> This topic hasn’t been written yet!
>
> We welcome your input to help shape the scope and approach. You can track the status and provide input on this
> [issue](https://github.com/dotnet/docs/issues/492) at GitHub.
>
> If you would like to review early drafts and outlines of this topic, please leave a note with your contact information in the issue.
>
> Learn more about how you can contribute on [GitHub](https://github.com/dotnet/docs/blob/master/CONTRIBUTING.md).
>
2 changes: 1 addition & 1 deletion docs/csharp/iterators.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ to generate the code necessary to iterate a collection: `IEnumerable<T>` and
`IEnumerator<T>`. This mechanism is explained in more detail below.

Both of these interfaces also have non-generic counterparts: `IEnumerable` and
`IEnumerator`. The [generic](generics.md) versions are preferred for modern code.
`IEnumerator`. The [generic](programming-guide/generics/index.md) versions are preferred for modern code.

## Enumeration sources with iterator methods

Expand Down
17 changes: 2 additions & 15 deletions docs/csharp/namespaces-and-assemblies.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,11 @@ description: Namespaces and Assemblies are the fundamental organizing features f
keywords: .NET, .NET Core, C#
author: dotnet-bot
manager: wpickett
ms.date: 06/25/2016
ms.date: 12/01/2016
ms.topic: article
ms.prod: .net-core
ms.technology: .net-core-technologies
ms.devlang: csharp
ms.assetid: fe436e2b-c6ea-490d-a221-0d822c6e178b
redirect_url: /dotnet/articles/csharp/programming-guide/namespaces/index
---

# πŸ”§ Namespaces and Assemblies

> **Note**
>
> This topic hasn’t been written yet!
>
> We welcome your input to help shape the scope and approach. You can track the status and provide input on this
> [issue](https://github.com/dotnet/docs/issues/962) at GitHub.
>
> If you would like to review early drafts and outlines of this topic, please leave a note with your contact information in the issue.
>
> Learn more about how you can contribute on [GitHub](https://github.com/dotnet/docs/blob/master/CONTRIBUTING.md).
>
17 changes: 2 additions & 15 deletions docs/csharp/type-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,11 @@ description: C# Type system
keywords: .NET, .NET Core
author: dotnet-bot
manager: wpickett
ms.date: 06/20/2016
ms.date: 12/01/2016
ms.topic: article
ms.prod: .net-core
ms.technology: .net-core-technologies
ms.devlang: dotnet
ms.assetid: 08589912-2fa0-4636-9aa6-d8b2b83cdf88
redirect_url: /dotnet/articles/csharp/programming-guide/types/index
---

# πŸ”§ C# Type system

> **Note**
>
> This topic hasn’t been written yet!
>
> We welcome your input to help shape the scope and approach. You can track the status and provide input on this
> [issue](https://github.com/dotnet/docs/issues/487) at GitHub.
>
> If you would like to review early drafts and outlines of this topic, please leave a note with your contact information in the issue.
>
> Learn more about how you can contribute on [GitHub](https://github.com/dotnet/docs/blob/master/CONTRIBUTING.md).
>
10 changes: 5 additions & 5 deletions docs/toc.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,19 +253,19 @@
### [πŸ”§ Using C# Interactive from Powershell](csharp/interactive-with-powershell.md)
### [πŸ”§ Using C# Interactive from macOS or Linux Terminal](csharp/interactive-with-bash.md)
## [C# Concepts](csharp/concepts.md)
### [πŸ”§ C# Type system](csharp/type-system.md)
### [πŸ”§ Namespaces and Assemblies](csharp/namespaces-and-assemblies.md)
### [C# Type system](csharp/programming-guide/types/index.md)
### [Namespaces](csharp/programming-guide/namespaces/index.md)
### [Basic Types](csharp/basic-types.md)
### [Classes](csharp/classes.md)
### [Structs](csharp/structs.md)
### [Tuples](csharp/tuples.md)
### [πŸ”§ Interfaces](csharp/interfaces.md)
### [Interfaces](csharp/programming-guide/interfaces/index.md)
### [Methods and Lambda Expressions](csharp/methods-lambda-expressions.md)
#### [Methods](csharp/methods.md)
#### [πŸ”§ Lambda Expressions](csharp/lambda-expressions.md)
### [Properties](csharp/properties.md)
### [Indexers](csharp/indexers.md)
### [πŸ”§ Generics](csharp/generics.md)
### [Generics](csharp/programming-guide/generics/index.md)
### [Iterators](csharp/iterators.md)
### [Delegates & events](csharp/delegates-events.md)
#### [Introduction to Delegates](csharp/delegates-overview.md)
Expand All @@ -288,7 +288,7 @@
#### [Building Expressions](csharp/expression-trees-building.md)
#### [Translating Expressions](csharp/expression-trees-translating.md)
#### [Summary](csharp/expression-trees-summary.md)
### [πŸ”§ Native interoperability](csharp/interop.md)
### [Native interoperability](csharp/programming-guide/interop/interoperability.md)
### [πŸ”§ Reflection & code generation](csharp/reflection.md)
### [Documenting your code](csharp/codedoc.md)
## [πŸ”§ Using the .NET Compiler Platform](csharp/roslyn/index.md)
Expand Down

0 comments on commit 6184474

Please sign in to comment.