Skip to content

Commit 081b398

Browse files
authored
Merge pull request #6 from ibrahimatay/readme-editing
readme editing
2 parents 9138206 + cd9771b commit 081b398

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,17 @@ Here are examples of C# programming to help you stay up-to-date with the latest
6868

6969
### C# 7.1-2-3 is supported on .NET Framework 4.6-4.8, .NET Core 2.1-2.2 (May 2018)
7070

71-
| Feature | Description |
72-
|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
73-
| [Attributes on local functions](AttributesOnLocalFunctions/Program.cs) | |
74-
| [Local functions](LocalFunctionsCsharp7/Program.cs) | |
75-
| [Pattern matching](PatternMatching/Program.cs) | |
76-
| [Tuple types](TupleTypes/Program.cs) | |
77-
| [Numeric literal syntax improvement](NumericLiteralSyntaxImprovements/Program.cs) | |
78-
| [Immutable collections](ImmutableCollections/Program.cs) | |
79-
| [in parameter modifier](InParameterModifier/Program.cs) | |
80-
| [ArrayPool](ArrayPool/Program.cs) | |
81-
| [MemoryPool](MemoryPool/Program.cs) | |
71+
| Feature | Description |
72+
|------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
73+
| [Attributes on local functions](AttributesOnLocalFunctions/Program.cs) |Adds conditional compilation support to local functions via `Conditional` attributes. Also defines a custom return value attribute and retrieves its metadata at runtime using reflection.|
74+
| [Local functions](LocalFunctionsCsharp7/Program.cs) |An example that improves encapsulation and readability using local functions. Functions defined within `Main` remain inaccessible from outside, preserving control and context. Calculations are managed within the local scope. |
75+
| [Pattern matching](PatternMatching/Program.cs) |Pattern matching is applied to handle logic specific to different financial instrument types using `switch` expressions and tuple-based decision structures. Volatility analysis and price check scenarios are modeled with technical examples. |
76+
| [Tuple types](TupleTypes/Program.cs) |A comprehensive example on tuple comparison, deconstruction, nesting, and nullable support, along with their use in function parameters and return types. Also includes integration with object initializers. |
77+
| [Numeric literal syntax improvement](NumericLiteralSyntaxImprovements/Program.cs) |Includes support for digit separators (`_`) and binary literals (`0b`) to improve readability in numeric literals. This syntax enhances code maintainability and accuracy by making large numbers easier to parse. |
78+
| [Immutable collections](ImmutableCollections/Program.cs) |An example application showing how `IReadOnlyList<T>` and `IReadOnlyDictionary<TKey, TValue>` can be used to define immutable collections and protect them from reinitialization and modification. |
79+
| [in parameter modifier](InParameterModifier/Program.cs) |A minimal example showing how to use the `in` parameter modifier for read-only passing of reference types and leveraging immutable structures for performance benefits. |
80+
| [ArrayPool](ArrayPool/Program.cs) |Contains three examples that optimize memory management using ArrayPool<T>: returning arrays to the shared pool with and without clearing, and using a custom cached pool. Suitable for high-performance temporary array allocation. |
81+
| [MemoryPool](MemoryPool/Program.cs) |Efficiently rents and manages memory using `MemoryPool<T>` and `IMemoryOwner<T>`, enabling low-GC, high-performance scenarios with explicit buffer lifecycle control via `Dispose`. |
8282

8383

8484
### C# 6 is supported on .NET Framework 4.6, .NET Core 1.0-1.1 (July 2015)

0 commit comments

Comments
 (0)