GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - grantwinney/CSharpDotNetFeatures: Discovering and learning about the various features of the C# programming language and .NET Framework.

BranchesTags
Open more actions menu

Latest commit

 

History

41 Commits
41 Commits

Folders and files

NameName
Last commit message
Last commit date
C# 01/Attributes
C# 01/Attributes
 
 
C# 06/ConstantDateTimeFormatInStringInterpolation
C# 06/ConstantDateTimeFormatInStringInterpolation
 
 
C# 07/DeconstructingUserDefinedTypes
C# 07/DeconstructingUserDefinedTypes
 
 
C# 09
C# 09
 
 
C# 10
C# 10
 
 
C# 11
C# 11
 
 
C# 12
C# 12
 
 
C# 13/CountByAggregateBy
C# 13/CountByAggregateBy
 
 
C# 14
C# 14
 
 
GeneralConcepts
GeneralConcepts
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

C# / .NET Features

The code here goes with my blog posts relate to specific versions of C# and .NET, which are very closely related and usually updated at the same time (see here and here). I sometimes upload code to separate repos (like for WinForms and misc topics), or to Gist or JsFiddle for shorter snippets.

  • What's new in C# | Microsoft Learn
  • What's new in .NET | Microsoft Learn
  • The relationship between C# language features and library types | Microsoft Learn
  • Features Added in C# Language Versions · dotnet/csharplang
  • C# programming language versions - Wikipedia
  • .NET and .NET Core Support Policy

The list below has links to each blog post and the relevant code, separated by version of language/framework. Links with a † next to them are in a separate repo, most likely Surviving WinForms, which applies concepts specifically to the WinForms framework.

C# 14 / .NET 10

  • Null Conditional / Coalescing Operators for Assignment (blog post, source code)
  • Using Extension Members (blog post, source code)

C# 13 / .NET 9

  • Using CountBy and AggregateBy in LINQ (blog post, source code)

C# 12 / .NET 8

  • Primary Constructors in Classes and Structs (blog post, source code)
  • Time Abstraction
    • Part 1 - How to use TimeProvider and FakeTimeProvider (blog post, source code)
    • Part 2 - How to use TimeProvider and FakeTimeProvider with timers (blog post, source code)

C# 11 / .NET 7

  • Generic Math Support series (source code)
    • Part 1 - What's a static abstract interface method? (blog post)
    • Part 2 - How do I overload arithmetic, equality, and comparison operators? (blog post)
    • Part 3 - What is Generic Math Support? (blog post)
  • Generic Attributes (blog post, source code)
  • List Patterns (blog post, source code)
  • Raw String Literals (blog post, source code)

C# 10 / .NET 6

  • MinBy and MaxBy in LINQ (blog post, source code)
  • Set-based LINQ - ExceptBy, IntersectBy, UnionBy, DistinctBy (blog post, source code)

C# 9 / .NET 5

  • Records, Classes and Equality (blog post, source code)
  • Switch/Case Pattern Matching (vs if/else) (blog post, source code)

C# 8 / .NET Core 3.x

  • None

C# 7 / .NET 4.7

  • Local Functions (aka nested methods) (blog post, source code) †
  • Tuples and Deconstruction (blog post, source code) †
  • Adding deconstructors to your own (and built-in) types in C# (blog post, source code)

C# 6 / .NET 4.6

  • Null-conditional and Null-coalescing operators (blog post, source code) †
  • Nameof (blog post, source code) †
  • String Interpolation (blog post, source code) †

C# 5 / .NET 4.5

  • None

C# 4 / .NET 4

  • Named Arguments (blog post, source code) †

C# 3 / .NET 3

  • None

C# 2 / .NET 2

  • None

C# 1 / .NET 1

  • Attributes (blog post, source code)
  • Exceptions (throw vs throw ex) (blog post)

General Concepts

  • Implicit vs Explicit Conversion (blog post, source code)
  • Singleton vs Scoped vs Transient (blog post, source code)

About

Discovering and learning about the various features of the C# programming language and .NET Framework.

Topics

csharpdotnettutorials

Resources

Readme
MIT license
Activity

Stars

13 stars

Watchers

1 watching

Forks

4 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.