Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ibrahimatay/csharp-features
Examples of C# programming, with the goal of tracking and staying up-to-date with the latest versions of the language.
https://github.com/ibrahimatay/csharp-features
csharp-10 csharp-11 csharp-12 csharp-4 csharp-5 csharp-6 csharp-7 csharp-8 csharp-9
Last synced: about 2 months ago
JSON representation
Examples of C# programming, with the goal of tracking and staying up-to-date with the latest versions of the language.
- Host: GitHub
- URL: https://github.com/ibrahimatay/csharp-features
- Owner: ibrahimatay
- Created: 2020-03-15T13:30:29.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T12:18:23.000Z (4 months ago)
- Last Synced: 2024-09-08T13:44:01.697Z (4 months ago)
- Topics: csharp-10, csharp-11, csharp-12, csharp-4, csharp-5, csharp-6, csharp-7, csharp-8, csharp-9
- Language: C#
- Homepage:
- Size: 1.33 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Csharp Feature Examples
![.NET Core](https://github.com/ibrahimatay/CsharpLangExamples/workflows/.NET%20Core/badge.svg)
Examples of C# programming, with the goal of tracking and staying up-to-date with the latest versions of the language. These examples provide a comprehensive overview of the features and capabilities of C# and serve as a valuable resource for anyone looking to learn or improve their skills in this programming language.
![image](/docs/Csharp-timeline.jpeg)
****Note***: Continuous improvements and bug fixes are made within the repository to produce better solutions.*
## Version History
* C# 13 is supported on .NET 9 (September, 2024)
* [Params Collections](ParamsCollections/Program.cs)
* [New Escape Sequence](NewEscapeSequence/Program.cs)
* [Extension Types](ExtensionTypesCsharp13/Program.cs)
* [The lock statement](TheLockStatement/Program.cs)
* API Improvements
* [New LINQ Methods](NewLINQMethodsCsharp13/Program.cs)
* `Index()`
* `CountBy()`
* `AggregateBy()`* C# 12 is supported on .NET 8 (November, 2023)
* [Primary constructors](PrimaryConstructors/Program.cs)
* [Default values for parameters in lambda expressions](DefaultLambdaParameters/Program.cs)* C# 11 is supported on .NET 7 (November, 2022)
* [Raw string literals](RawStringLiterals/Program.cs)
* [List Patterns Matching](ListPatternsMatching/Program.cs)
* [Generic Attributes](GenericAttributes/Program.cs)
* [File-local types](FileLocalTypes/Program.cs)
* [Static Abstract Members In Interfaces](StaticAbstractMembersInInterfaces/Program.cs)
* [User-defined explicit and implicit conversion operators](UserDefinedConversionOperators/Program.cs)* C# 10 is supported on .NET 6 (November, 2021)
* [Global using directive](GlobalUsingDirective/Program.cs)* C# 9 is supported on .NET 5 (November, 2020)
* [Target-typed new expressions ](TargetTypedNewExpressions/Program.cs)
* [Pattern matching](PatternMatchingCsharp9/Program.cs)
* [Record types](RecordTypes/Program.cs)
* [Top-level statements](TopLevelStatements/Program.cs)
* [Source generator](SourceGenerator/Program.cs)
* [Attributes on local functions](AttributesOnLocalFunctions/Program.cs)
* C# 8 is supported on .NET Standard 2.1, .NET Core 3.0-3.1 (September 2019)
* [Asynchronous streams](AsynchronousStreams/Program.cs)
* [Null-Coalescing operator](NullCoalescing/Program.cs)
* [Default interface methods](DefaultInterfaceMethods/Program.cs)
* [Static local functions](StaticLocalFunctions/Program.cs)
* [Pattern matching](PatternMatching/Program.cs)
* C# 7.1-2-3 is supported on .NET Framework 4.6-4.8, .NET Core 2.1-2.2 (May, 2018)
* [Attributes on local functions](AttributesOnLocalFunctions/Program.cs)
* [Local functions](LocalFunctionsCsharp7/Program.cs)
* [Pattern matching](PatternMatching/Program.cs)
* [Tuple types](TupleTypes/Program.cs)
* [Numeric literal syntax improvement](NumericLiteralSyntaxImprovements/Program.cs)
* [Immutable collections](ImmutableCollections/Program.cs)
* [in parameter modifier](InParameterModifier/Program.cs)
* [ArrayPool](ArrayPool/Program.cs)
* [MemoryPool](MemoryPool/Program.cs)
* C# 6 is supported on .NET Framework 4.6, .NET Core 1.0-1.1 (July, 2015)
* [Using static directive](UsingStaticDirective/Program.cs)
* [Collection initializers](CollectionInitializers/Program.cs)
* C# 4 & others
* [Dynamic types](DynamicTypes/Program.cs)
* [Multicast Delegates](MulticastDelegates/Program.cs)
* [DebuggerDisplay](DebuggerDisplay/Program.cs)## Notes
- [Which C# version is included in which framework version?](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version)
- [C# Language Features MindMap](https://linkdotnetblogstorage.azureedge.net/blog/20230205_CSharpMindMap/MindMap.svg)
- [.NET release cadence](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core)
- [Upgrade Assistant](https://dotnet.microsoft.com/en-us/platform/upgrade-assistant)
- [.NET Source Browser](https://source.dot.net/)