Skip to content

Commit 1d845f4

Browse files
BillWagnerCopilotmeaghanlewis
authored
Don't refer to C# 11 as "new" anymore (#49960)
* Remove C# 11 "What's new" Remove the "What's new in C# 11 article, and consolidate with the C# version history. * Remove references to C# 11 "new" Removing all phrasing that indicates when a feature was added in C# 11. Update date and perform an edit and review pass. * Fix warnings * more warnings.. * Move virtual static tutorial * Update tutorial code. * fix warnings * mispelled redirection * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> Co-authored-by: Meaghan Osagie (Lewis) <[email protected]> * respond to feedback. --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Meaghan Osagie (Lewis) <[email protected]>
1 parent 655ed45 commit 1d845f4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+254
-459
lines changed

.openpublishing.redirection.csharp.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,6 @@
349349
"source_path_from_root": "/docs/csharp/getting-started/testing-library-with-visual-studio.md",
350350
"redirect_url": "/dotnet/core/tutorials/testing-library-with-visual-studio"
351351
},
352-
{
353-
"source_path_from_root": "/docs/csharp/getting-started/whats-new.md",
354-
"redirect_url": "/dotnet/csharp/whats-new/csharp-11"
355-
},
356352
{
357353
"source_path_from_root": "/docs/csharp/getting-started/with-visual-studio-2017.md",
358354
"redirect_url": "/dotnet/core/tutorials/with-visual-studio",
@@ -4753,7 +4749,11 @@
47534749
},
47544750
{
47554751
"source_path_from_root": "/docs/csharp/whats-new/tutorials/static-abstract-interface-methods.md",
4756-
"redirect_url": "/dotnet/csharp/whats-new/tutorials/static-virtual-interface-members"
4752+
"redirect_url": "/dotnet/advanced-topics/interface-implementation/static-virtual-interface-members"
4753+
},
4754+
{
4755+
"source_path_from_root": "/docs/csharp/whats-new/tutorials/static-virtual-interface-members.md",
4756+
"redirect_url": "/dotnet/advanced-topics/interface-implementation/static-virtual-interface-members"
47574757
},
47584758
{
47594759
"source_path_from_root": "/docs/csharp/whats-new/tutorials/top-level-statements.md",
@@ -5004,9 +5004,13 @@
50045004
"source_path_from_root": "/docs/csharp/whats-new/csharp-10.md",
50055005
"redirect_url": "/dotnet/csharp/whats-new/csharp-version-history#c-version-10"
50065006
},
5007+
{
5008+
"source_path_from_root": "/docs/csharp/whats-new/csharp-11.md",
5009+
"redirect_url": "/dotnet/csharp/whats-new/csharp-version-history#c-version-11"
5010+
},
50075011
{
50085012
"source_path_from_root": "/docs/csharp/whats-new/index.md",
5009-
"redirect_url": "/dotnet/csharp/whats-new/csharp-13",
5013+
"redirect_url": "/dotnet/csharp/whats-new/csharp-14",
50105014
"ms.custom": "updateeachrelease"
50115015
},
50125016
{

docs/core/compatibility/core-libraries/6.0/static-abstract-interface-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ N/A
4747

4848
## See also
4949

50-
- [Tutorial: Explore static virtual members in interfaces](../../../../csharp/whats-new/tutorials/static-virtual-interface-members.md)
50+
- [Tutorial: Explore static virtual members in interfaces](../../../../csharp/advanced-topics/interface-implementation/static-virtual-interface-members.md)

docs/core/whats-new/dotnet-7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ For more information, see [What's new in Visual Studio 2022](/visualstudio/ide/w
129129

130130
### C# 11
131131

132-
C# 11 includes support for [generic math](../../standard/generics/math.md), raw string literals, file-scoped types, and other new features. For more information, see [What's new in C# 11](../../csharp/whats-new/csharp-11.md).
132+
C# 11 includes support for [generic math](../../standard/generics/math.md), raw string literals, file-scoped types, and other new features. For more information, see [What's new in C# 11](../../csharp/whats-new/csharp-version-history.md#c-version-11).
133133

134134
### F# 7
135135

docs/csharp/whats-new/tutorials/snippets/staticinterfaces/GetNext.cs renamed to docs/csharp/advanced-topics/interface-implementation/snippets/staticinterfaces/GetNext.cs

File renamed without changes.

docs/csharp/whats-new/tutorials/snippets/staticinterfaces/Point.cs renamed to docs/csharp/advanced-topics/interface-implementation/snippets/staticinterfaces/Point.cs

File renamed without changes.

docs/csharp/whats-new/tutorials/snippets/staticinterfaces/Program.cs renamed to docs/csharp/advanced-topics/interface-implementation/snippets/staticinterfaces/Program.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// See https://aka.ms/new-console-template for more information
2-
3-
Console.WriteLine(Utilities.MidPoint(12, 24));
1+
Console.WriteLine(Utilities.MidPoint(12, 24));
42

53
// <TestRepeat>
64
var str = new RepeatSequence();

docs/csharp/whats-new/tutorials/snippets/staticinterfaces/RepeatSequence.cs renamed to docs/csharp/advanced-topics/interface-implementation/snippets/staticinterfaces/RepeatSequence.cs

File renamed without changes.

docs/csharp/whats-new/tutorials/snippets/staticinterfaces/Translation.cs renamed to docs/csharp/advanced-topics/interface-implementation/snippets/staticinterfaces/Translation.cs

File renamed without changes.

docs/csharp/whats-new/tutorials/snippets/staticinterfaces/Utilities.cs renamed to docs/csharp/advanced-topics/interface-implementation/snippets/staticinterfaces/Utilities.cs

File renamed without changes.

docs/csharp/whats-new/tutorials/snippets/staticinterfaces/staticinterfaces.csproj renamed to docs/csharp/advanced-topics/interface-implementation/snippets/staticinterfaces/staticinterfaces.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

0 commit comments

Comments
 (0)