๐Ÿ˜œ

์ญˆ๋‚˜์•„๋น  ๋ธ”๋กœ๊ทธ

JUNA
STUDIO

[C#] Using C# in Jupyter Notebook

๋ฐœํ–‰์ผ: Feb, 2025
์กฐํšŒ์ˆ˜: 2
๋‹จ์–ด์ˆ˜: 140

Table of Contents

Introduction

 Anyone who has used Python has probably used Jupyter Notebook. Using Jupyter Notebook is much more useful than simply storing or sharing commented source code, as it allows you to test various simple code blocks for playground purposes or create tutorial documents that you can directly modify and execute.

 Now, you can create notebooks with C# code in Jupyter Notebook. Assuming that you already have Anaconda/Miniconda environment or Python, Jupyter Notebook, and .Net development environment installed on your PC, you can simply execute the following command line commands in order.


Installation

1. Install Microsoft.dotnet-interactive.

dotnet tool install --global Microsoft.dotnet-interactive

2. Execute the command to install the .Net kernel for Jupyter notebook.

dotnet-interactive jupyter install


Usage

Now, if you run Jupyter notebook, you will see C# in the new notebook creation.

Now you can create notebooks with C# code as shown below.

Tags: #Python#Jupyter Notebook#C##Anaconda#Miniconda#.Net#development environment
JUNA BLOG VISITORS
Today
7
 (
updown
-7
)
Total
657
 (
updown
+7
)

ยฉ 2025 juniyunapapa@gmail.com.