Тёмный

Write And Run C# In Your Terminal! | .NET Tips 5 

Nick Chapsas
Подписаться 291 тыс.
Просмотров 148 тыс.
50% 1

Give CSharpRepl a star: github.com/waf/CSharpRepl

Опубликовано:

 

21 мар 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 89   
@woendi
@woendi Год назад
This is so cool. Similar to C# Interactive in VS, but far more consistent and easier to use
@lassel1644
@lassel1644 Год назад
Well i think MS efforts to be like the cool kids from the JS world might bite them back in their a**
@vothaison
@vothaison 7 месяцев назад
thanks to the incredible speed if moderb c#
@pushyoch.8252
@pushyoch.8252 Год назад
This is very useful. I'm still doing beginner projects and this is a much quicker way to test sth vs to run the whole project & navigate to The correct fx
@jamienordmeyer4345
@jamienordmeyer4345 Год назад
Dude! This is so cool! Thanks for the tip, Nick! Off to install it now!
@anandsutrave5607
@anandsutrave5607 Год назад
This is awesome! Please create a full fledged video on this feature..
@noobermensch865
@noobermensch865 Год назад
This makes me happy as a python dude picking up C#.
@babutschi
@babutschi 16 дней назад
Finally switching to a real language
@jnicoulakos
@jnicoulakos Месяц назад
Thank you for showing us this.
@DevLeader
@DevLeader 10 месяцев назад
Thanks for sharing! Never even thought about something like this, but it'll be wildly valuable 😂
@dr.vegapunk2708
@dr.vegapunk2708 11 месяцев назад
Why I never know this before. Thank You so much.
@MuhammadRizwan-sk5ot
@MuhammadRizwan-sk5ot 11 месяцев назад
I amazed the you said 'WALLAH' to surprise us. 😅
@SkyyySi
@SkyyySi 5 месяцев назад
I wish every language had such an awesome REPL
@qj0n
@qj0n Год назад
I've added C# script to Windows Terminal long time ago, but I was always lacking some UX... So now, whenever I want to write some C# quickly I use Polyglot (Jupiter) notebooks in VS Code. Equally quick, but much better experience. Maybe REPL would be also a good replacement
@qj0n
@qj0n Год назад
couple of months later I have an update - yes, REPL works in windows terminal much better
@HellPotro
@HellPotro Год назад
Very nice feature that allows us to test a piece of code quickly!!
@osanbrazil999
@osanbrazil999 3 месяца назад
Really cool tip! Thnx, Nick!
@ferdinandcastilho
@ferdinandcastilho 10 месяцев назад
Amazing Nick 🎉 thanks for sharing!
@florianvo7616
@florianvo7616 Год назад
what also works is to store c# code as string in a variable and use add-type powershell command to add your c# type to the powershell environment. then you can call it using different ways, pretty need
@angeltemelko6544
@angeltemelko6544 Год назад
Thanks Nick!
@kazepis
@kazepis Год назад
@nickchapsas do you have a video about your terminal of choice and your git prompt?
@ugochukwuumerie6378
@ugochukwuumerie6378 Год назад
😲, Thanks a lot for this content.
@InshuMussu
@InshuMussu 10 месяцев назад
I have been using LINQPad, but would try it.
@qwre9104
@qwre9104 8 месяцев назад
dude this thing is amazing thank you!!!!!
@nochnoy_kot
@nochnoy_kot Год назад
yeeah, this one is cool. Suffered with C# interactive..
@kamau6988
@kamau6988 Год назад
Very useful
@AQDuck
@AQDuck Год назад
It even has intellisense...
@theycallme_nightmaster
@theycallme_nightmaster 6 месяцев назад
wow a useful Short
@dmytrk
@dmytrk Год назад
Just... Wow!
@v0id_d3m0n
@v0id_d3m0n Год назад
Yo this is sick!!!
@mattcargile
@mattcargile 4 месяца назад
Powershell is a great .NET REPL too
@FunWithBits
@FunWithBits Год назад
I almost need this daily!
@andreasmewald2439
@andreasmewald2439 Год назад
What about LinqPad ?
@MrMatthewLayton
@MrMatthewLayton Год назад
I was thinking that. It would be nice if it were cross platform, or something like a C# equivalent of RunJS.
@matthewsimmons6831
@matthewsimmons6831 Год назад
Yeah plus one for LINQPad
@antonmartyniuk
@antonmartyniuk Год назад
wow, that's will be a usefull tool
@GrinyaLovesYou
@GrinyaLovesYou Год назад
A great tip! I used the powershell to run some quick c# and its not that easy to use
@ThousandsOfPk
@ThousandsOfPk 11 месяцев назад
Rextester is an online compiler for every single language
@arpanmukherjee4625
@arpanmukherjee4625 4 месяца назад
I wish I had "rails c" on my c# projects. I think this is very close to that....❤
@kipchickensout
@kipchickensout 6 месяцев назад
i forgot this tip once, i will forget it again
@freakzone1284
@freakzone1284 6 месяцев назад
Great video, thanks g
@MessingWithCode
@MessingWithCode Год назад
i saw that for the first time on Mono Csharp console which provide's the same funtionality but did not have the nuget packages capabilites i think .
@StephenOwen
@StephenOwen 9 месяцев назад
Hey Nick, sometimes it takes a while to hit a debug breakpoint. Is there a way to save and jump back into a certain debug state? It’d be awesome as my async app takes minutes to get to a certain point !
@zzzanon
@zzzanon Год назад
Very cool
@HarshColby
@HarshColby Год назад
Very cool. I've been wanting this for the exact reason you said in your opening remarks.
@ziebplew
@ziebplew 7 месяцев назад
Oh baby that's hot 🥵 I was just thinking the other day that I wish something like this existed
@fullybangali
@fullybangali Год назад
How did you create the terminal prompt..
@mrwalkan
@mrwalkan Год назад
C# ❤
@random_guy_on_the_internet69
What terminal are you using? It looks very interesting
@arjix8738
@arjix8738 Год назад
windows terminal and I think he is using oh-my-posh
@random_guy_on_the_internet69
@@arjix8738 ok thank you
@echoptic775
@echoptic775 Год назад
Yoy cant just use the c sharp compiler outside visual studio?
@OczEkPower
@OczEkPower 19 дней назад
It is possible to load whole app ?
@JackTheSpades
@JackTheSpades Год назад
This kinda just feels like C# Interactive which comes with Visual Studio. And yeah, I use it a lot to quickly check the behavior of functions to make sure they do what I expect them to do.
@absolutewisp
@absolutewisp Год назад
Yeah but in a professional setting, you might not have a vs license, and this has the bonus of working straight in your terminal
@markgella3426
@markgella3426 Год назад
...linqPad works too
@ntohl
@ntohl 7 месяцев назад
What happened with dotnet-script?
@killers512
@killers512 Год назад
Is it better than dotnet-repl?
@AlirezaAsgari
@AlirezaAsgari Год назад
possible write bash script with this ?
@x3mbonus
@x3mbonus Год назад
Hi. What is that console with colored path?
@arjix8738
@arjix8738 Год назад
windows terminal, with an oh-my-posh theme
@x3mbonus
@x3mbonus Год назад
​@@arjix8738 thank you
@Felipehsbr
@Felipehsbr 11 месяцев назад
And what about using the dotnet fiddle? You don't even need to install anything
@pss_crs
@pss_crs 11 месяцев назад
"Cross platform commandLine" ✋️ does it run android
@verdaisilplayz
@verdaisilplayz 6 месяцев назад
what is terminal (sorry im beginner in C# (': )
@codeman99-dev
@codeman99-dev 8 месяцев назад
It boggles my mind that the `dotnet` command ships with a REPL for F#, but not C#...
@HexaflexagonFan
@HexaflexagonFan 6 месяцев назад
Yeah that is so strange to me
@BossHoss00
@BossHoss00 8 месяцев назад
i use linqpad for that
@wi8shad0w
@wi8shad0w Год назад
isnt this wat dotnet-repl does ?
6 месяцев назад
this is the same as C# Interactive 🤔
@alexveremeenko
@alexveremeenko 8 месяцев назад
LinqPad!
@starflow90210
@starflow90210 Год назад
Just use powershell....
@flashnao4360
@flashnao4360 6 месяцев назад
I think Java is the best, more than C#
@silme9417
@silme9417 Год назад
C# is slowly turning into python... :(
@CommentGuard717
@CommentGuard717 Год назад
Could be a good thing
@isaac80745
@isaac80745 10 месяцев назад
They had F# so they might he integrating that language with C# and leaving it as is.
@idjdbrvvskambvvv9007
@idjdbrvvskambvvv9007 Год назад
god just use wsl already man
@raghavgupta1799
@raghavgupta1799 Год назад
This is getting out of hand
@IronTeddyBear
@IronTeddyBear Год назад
LinqPad is way easier than this.
@nickchapsas
@nickchapsas Год назад
Can I run it on my mac?
Далее
What is Span in C# and why you should be using it
15:15
This is Best Way To Create CLI Apps in .NET
13:24
Просмотров 61 тыс.
МЯСНОЙ ЦЕХ - Страшилки Minecraft
37:24
ГЕНИИ МАРКЕТИНГА 😂
00:35
Просмотров 1,5 млн
Don't throw exceptions in C#. Do this instead
18:13
Просмотров 248 тыс.
Every single feature of C# in 10 minutes
9:50
Просмотров 82 тыс.
Microsoft FINALLY killed it
6:45
Просмотров 541 тыс.
Что такое Nginx?
11:21
Просмотров 33 тыс.
How IEnumerable can kill your performance in C#
11:02
Просмотров 112 тыс.
Swagger is Going Away in .NET 9!
10:48
Просмотров 78 тыс.
Await Async Tasks Are Getting Awesome in .NET 9!
9:24
МЯСНОЙ ЦЕХ - Страшилки Minecraft
37:24