Blog Post

Educator Developer Blog
2 MIN READ

Using Visual Studio Notebooks for learning C#

Lee_Stott's avatar
Lee_Stott
Icon for Microsoft rankMicrosoft
Jul 22, 2022

Visual Studio Notebook Editor brings C# and .NET to Jupyter Notebooks - Learn To Code Interactively.


 


Getting Started with the .NET Notebook Editor Extension and C# Noteboooks Open Source Repo

Step1. Install Notebook Editor Extension: https://marketplace.visualstudio.com/items?itemName=MLNET.notebook

Step 2. Install .Net 6 SDK https://dotnet.microsoft.com/download 
Step 3. Clone the C# Notebooks Repo: https://github.com/dotnet/csharp-notebooks
Step 4. Learn Machine Learning Tutorial: https://github.com/dotnet/csharp-notebooks#machine-learning
Step 5. Learn DataFrame and Graph Notebooks: https://github.com/dotnet/csharp-notebooks#reference-notebooks

Open Source Resources 

Getting Started with C# 101

Download or clone this repo and open the csharp-101 folder in VS Code to get started with the C# 101 notebooks. Or, if you want just tap on one of the Notebook links below and automatically have it open in VS Code!

# Topic Notebook Link Video Link Documentation
1 Hello World 01 Notebook 01 Video Intro to C#
2 The Basics of Strings 02 Notebook 02 Video Intro to C#
3 Searching Strings 03 Notebook 03 Video Intro to C#
4 Numbers and Integers Math 04 Notebook 04 Video Numbers in C#
5 Numbers and Integer Precision 05 Notebook 05 Video Numbers in C#
6 Numbers and Decimals 06 Notebook 06 Video Numbers in C#
7 Branches (if) 07 Notebook 07 Video Branches and Loops in C#
8 What Are Loops? 08 Notebook 08 Video Branches and Loops in C#
9 Combining Branches and Loops 09 Notebook 09 Video Branches and Loops in C#
10 Arrays, Lists, and Collections 10 Notebook 10 Video Arrays, Lists, and Collections in C#
11 Search, Sort, and Index Lists 11 Notebook 11 Video Arrays, Lists, and Collections in C#
12 Lists of Other Types 12 Notebook 12 Video Arrays, Lists, and Collections in C#
13 Objects and Classes 13 Notebook 13 Video Object Oriented Coding in C#
14 Methods and Members 14 Notebook 14 Video Object Oriented Coding in C#
15 Methods and Exceptions 15 Notebook 15 Video Object Oriented Coding in C#
Updated Aug 04, 2022
Version 6.0

4 Comments

  • matthewasdf's avatar
    matthewasdf
    Copper Contributor

    FYI.  I think this is the right URL for the extension Notebook Extension, now called Polyglot Notebooks - https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-interactive-vscode 

    • DamianMontero's avatar
      DamianMontero
      Copper Contributor

      This link worked for me in 2025 and fixes the link 404 error.

  • AndyTBay's avatar
    AndyTBay
    Copper Contributor

    The extension has been removed from the marketplace.  Any idea if/when it will return or where to find a copy of the installer?

  • The Anchor tag for Step 1: that should go to  https://marketplace.visualstudio.com/items?itemName=MLNET.notebook appears to be adding a /?WT.mc_id=academic-72072-leestott to the end which causes it to 404.