CodeNewbie Community


Posted on

Learning a bit about... C#


I've been spending my Saturdays doing tutorials on languages I'm curious about. This week it's C#.

What I knew about the language before I started

  • I did a two day course on this, years ago, so you'd think the answer would be a lot. In fact it is: the opening curly bracket goes on a new line

What I did

Build a C# Application in 60 Minutes

I picked this one partly because it's by Brad Traversy, who mainly does JavaScript/web dev based on videos, and so his videos on other things assume you know JS and therefore compares them to that. And also because it's a tutorial to make something, which is always more interesting.

Although C# works in VS Code, based on my research, all the videos I found were in Visual Studio and I wasn't sure how to replicate them in VS Code. So I busted out my Windows computer (that I use for Steam Games and library books) and did it on that. Visual Studio took a long time to install...

What I thought about the language

I thought I hated it because it was complicated. But I think this is because the course I did assumed you knew C# and did a lot of stuff connecting to databases. And the one program I saw in it is really complicated.

But actually, it wasn't. It was pretty similar to everything else really. Although the curly brackets take a bit of getting used to - you can put the opening one at the end of a line, but once you press enter it moves it to the next line.

I was quite excited about changing the colours of the text in the terminal.

What's next?

C++. Since I have Visual Studio installed on my Windows computer, I might as well make use of it.

Discussion (0)