Is C# worth learning in 2023?

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so you like statically typed programming languages and you see a lot of jobs advertised for c-sharp developers and there are so you might be asking yourself is this a good language to learn well in today's video that's the question that we're going to answer I'll take you through some of the history of c-sharp so that you have a little bit of context and then we'll look at the different applications of the language we'll look at some of the current trends we'll be comparing c-sharp to some other programming languages and I'll leave you having answered the question is it worth you learning this [Music] c-sharp was released in 2002 and it was developed by Microsoft as a part of its dot-net initiative the original goal of c-sharp was to create an object-oriented programming language that would be easy to use and would run on the Microsoft platform C sharp is part of the C family of programming languages so basically it has curly brackets and semicolons and it was of course heavily influenced by C plus plus and indeed the sharp sign is apparently two pluses underneath each other like that I'm told anyway c-sharp code is compiled into an intermediary instruction language which is then executed it using just-in-time compilationin.net so in that respect it's fairly similar to Java Java is executed using just-in-time compilation on the Java virtual machine in fact for a long time people rather rudely referred to c-sharp as Microsoft Java but at some point these two languages began taking very different parts Java started to become less sought after as other jvm languages came out with more modern feature sets and C sharp surprisingly actually started to become more appealing as things like functional programming and parallel programming became popular Microsoft was very proactive about updating the c-sharp language to add all of these things in and keep it up to date and that's why there's two different ways to start an async task in C sharp and there's two different ways to map an array and that sort of thing it's because the languages had features added to it while still remaining backwardly compatible the main factor behind c-sharp's Evolution into a more modern programming language however was undoubtedly Microsoft decision to build a cross-platform compiler you see up until 2014 the main way to run c-sharp was on.net framework and that had to be run on Windows there was a separate open source effort to make a cross-platform compiler called Mono but for most developers writing c-sharp meant running Windows and then in 2014 Microsoft completely rewrote the.net compiler and they made it all open source under the non-profit.net foundation and they also made it entirely cross-platform and this was a real signal for Microsoft that they were going to start embracing the open source Community instead of fighting against it and that's an attitude that would eventually see them go on to acquire GitHub but anyway back to c-sharp so this new cross-platform version of.net was originally called.net core and it's now just called.net and it really does run just as well on Linux machines as it does on Windows Microsoft accompanied this with the new CLI tools and a new cross-platform IDE called Visual Studio code you might have heard of that and ultimately this is the modern world that c-sharp developers live in you no longer have to write c-sharp applications on the Windows machine and run them on a Windows server you can write C sharp on a Mac if you want to and then containerize it with Docker and then deploy it to a Linux box on AWS if you want to and plenty of people do that there are four main things that people use c-sharp to build and this is important if it's a language that you're considering learning firstly back-end web applications there is this web framework called asp.net that uses c-sharp as the language and it has controllers and middleware and all of the things you'd expect from a modern web application framework asp.net uses something called Razer pages to render HTML templates on the server it looks like this with these tags to embed c-sharp code into the template and to do conditional rendering and stuff like that the second application of c-sharp is the unity game engine Unity is an extremely popular game engine that is used to create more than half of all mobile applications and the unity scripting API is generally used with C sharp the third application for c-sharp is a framework called xamarin xamarin is a fairly mature mobile framework for creating cross-platform and Native mobile applications in C sharp if you're considering loading c-sharp to expand your career options then xamarin is worth knowing about because there are a lot of demand for mobile app developers using xamarin and lastly there's an emerging application of c-sharp and that's for building front-end web applications with webassembly and that's called Blazer now Blazer is still rather in its infancy and widespread use of it is yet to be seen But if you want to get into webassembly and you're considering c-sharp then Blazer is certainly something I would take a look at it definitely works very well and it can be a lot of fun to play around with it so those are the four main use cases for c-sharp that you need to be aware of if you're considering this as a language to learn so back to the title of this video is c-sharp a language worth learning well in so much as every new language you learn will expand your knowledge of software engineering as a whole it will expose you to new ways of solving problems it will expose you to new patterns new syntax new applications and so with that in mind then yes absolutely c-sharp is worth at least experimenting with and learning a little bit of you can find some excellent c-sharp tutorials on Microsoft's website itself Link in the description below but here on train to code I'm going to be posting a few videos over the coming weeks about c-sharp so look out for those videos with a purple background in a thumbnail and I'll also make a YouTube playlist which will be linked below to get notified of my c-sharp videos you will of course need to subscribe to this channel so do that now and leave any comments or suggestions in the comments section below that's all from this video so until next time goodbye foreign [Music]
Info
Channel: Train To Code
Views: 29,321
Rating: undefined out of 5
Keywords: csharp, dotnet, learnprogramming
Id: Ax63VFZVobc
Channel Id: undefined
Length: 6min 20sec (380 seconds)
Published: Sat Feb 11 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.