GithubHelp home page GithubHelp logo

dmorosinotto / xe_dotnetconf_hottopics_csharp Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 13.94 MB

XE Session - dotNETConf Hot Topics - C# 9 @13-11-2020 + C# 10 @12-11-2021 + C# 11 @18-11-2022 + C# 12 @18-11-2023

C# 95.23% Jupyter Notebook 4.77%
csharp dotnet language-features netconf netcore

xe_dotnetconf_hottopics_csharp's Introduction

XE_dotNETConf_2023_CSharp12

XE .NETConf 2023 - C# 12 - Session 18-11-2023

Added samples to demonstrate new features of C# 12 for my XE session at .NET Conf 2023 XE to try it you must install .NET 8 + open a terminal in VSCode and run dotnet watch - you can test every single example modifing Program.cs if you want to follow the "live demo" you can check diff from files XXX_init.cs -> XXX_mid.cs -> XXX_ok.cs inside any single EXn folder.

XE_dotNETConf_HotTopics_CSharp11

XE dotNETConf HotTopics - C# 11 - Session 18-11-2022

Added samples to demonstrate new features of C# 11 for my XE online session about .NET Conf 2022 HotTopics to try it you must install .NET 7 + open a terminal in VSCode and run dotnet watch - you can test every single example modifing Program.cs to follow "live demo" you can check diff from files XXX_init.cs -> XXX_mid.cs -> XXX_ok.cs inside any single EXn folder.

XE_dotNETConf_HotTopics_CSharp10

XE dotNETConf HotTopics - C# 10 - Session 12-11-2021

Added a .NET Interactive notebook to demonstrate new features of C# 10 for my XE online session about dotNETConf 2021 HotTopics to try it you must install .NET 6 + .NET Interactive extension for VSCode

XE_dotNETConf_HotTopics_CSharp9

XE dotNETConf HotTopics - C# 9 - Session 13-11-2020

This repo contains some slides and all the DEMO for my XE online session about dotNETConf 2020 HotTopics where I talk about C# 9

Initial setup project

I used latest official release of .NET 5 and create a simple Console App for easy startup:

dotnet new console -n csharp9 -o csharp9
cd csharp9
dotnet run

I also edited the default csharp9.csproj file to specify the C# Languauge 9

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net5.0</TargetFramework>
    <LangVersion>9.0</LangVersion>
    <Nullable>enable</Nullable>
 </PropertyGroup>

</Project>

Try it

To try my project sample simply open VSCode and install C# Extension when promted

Than in the integrated Terminal simply run dotnet watch run to execute the code, and follow istruction in the comment to run/test all my sample one-by-one to learn the new C# 9 features:


References

If you need more details about C#9 take a look at:

  • C# 9 Realese notes
  • Official C#9 What's new docs
  • dotNETConf 2020 What's new in C# 9 video
  • Great @MadsTorgersen talk about Future of C# 9+ video
  • Article about "minimal" CRUD Web API using new C# 9 featues

If you need more details about C#10 take a look at:

  • Official C# 10 What's new docs
  • C# 10 .NET 6 Improvment new features video

If you need more details about C#11 take a look at:

If you need more details about C#12 take a look at:

xe_dotnetconf_hottopics_csharp's People

Contributors

dmorosinotto avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.