Save for later

C# Basics for Beginners

With over 50,000 happy students and 15,000+ positive reviews, this course is Udemy's most popular course for learning C# from scratch.

C# is a beautiful cross-platform language that can be used to build variety of applications. With C#, you can build mobile apps (for Windows, Android and iOS), games, web sites and desktop applications.

Once you master fundamentals of C# and programming with .NET framework, you'll have lots of options in front of you. You can choose to build mobile apps if you prefer, or you can change job and work as a web developer. As long as you know the fundamentals well, switching to different technology stacks is pretty easy.

In this course, Mosh, author of several best-selling C# courses on Udemy, teaches you the fundamentals of C# programming in a clear, concise and step-by-step way. Note only that, but he'll also teach you best practices and shortcuts to help you become a better developer.

Every section comes with a few bite-sized video lectures and a quiz or programming exercises. These exercises are carefully chosen from academic and real-world examples to train your "programming brain". If you want to be a successful programmer, who has many high-paid job offers and freedom to "choose", you need to learn how to think like a programmer. And this is what you're going to get out of these exercises. All exercises come with solutions, so you can compare your solutions with Mosh's to find areas for improvement.

There are plenty of free tutorials and videos that teach you C# and they are great if all you want to learn is C# constructs. But if you want to learn C# and become a better programmer with a bright future and lots of options, this is the course for you. For every topic, not only will you learn the whats, but you'll also learn the whys, and hows. You'll see common errors that pop up as part of developing applications with C#. Mosh explains these errors in detail, and shows you how to resolve them.

I owe a lot of it to you because your courses have been May God bless you and your efforts to create high quality courses. This has really changed my life from working as a security guard and doing websites for free, now I am a professional." -Danish Jafri

"Great Instructor, Great Course, Mosh does a great job of breaking down the material and making it interesting." -Michael Gardner

"You can hear the passion in his voice which makes the course sound 10x more exciting then someone who just does it for the money." -Tim Medcalf

"Great Instructor, I love the way he teaches the course." -Edward Tkachev

"I love Mosh's approach of delivering the theory and then the practice. Audio and video quality are superb." -Paul Mooney

"You can definitely tell that Mosh is not only an experienced programmer, but he also cares deeply about producing great quality lessons and ensuring that his students are understanding the content." -David

30- Take the course, watch every lecture, and do the exercises, and if you feel like this course is not for you, ask for a full refund within 30 days. All your money back, no questions asked.

He is the author of several best selling Udemy courses with more than 120,000 students in 192 countries. He has a Master of Science in Network Systems and Bachelor of Science in Software Engineering. His students describe him as passionate, pragmatic and motivational in his teaching.

Do you want to start learning C# now?

Join the other 50,000+ happy students who have taken this course and start coding within a few minutes.

Get Details and Enroll Now

OpenCourser is an affiliate partner of Udemy and may earn a commission when you buy through our links.

Get a Reminder

Send to:
Rating 4.5 based on 7,298 ratings
Length 5.5 total hours
Starts On Demand (Start anytime)
Cost $17
From Udemy
Instructor Mosh Hamedani
Download Videos Only via the Udemy mobile app
Language English
Subjects Programming
Tags Programming Languages Development

Get a Reminder

Send to:

Similar Courses

What people are saying

step by step

I recommend this course for those who are college students like me and want to have a better understanding of this programming language, he teaches the fundamental step by step with clear presentation and also there are lot of exercises that will enhance your ability to problem solving.

Step by step, steady useful course.

Using step by step progression, presented in small bites, it gradually has the student understanding how to begin using this language.

Very thorough and informative taking it step by step not assuming any prior knowledge or understand but keeps building on learnt topics It was an amazing course.

Explained in details step by step.

Well explained and very easy to follow, step by step.

At the end the class made since but for someone who is new trying to follow through step by step, they would not understand why the lesson is showing something different then what was recommended for a download.

Great course, Great instructor Having only done a modicum of SQL and PL/SQL i appreciate the step by step introduction to C# The course is very well explained and the teacher is excellent!

Great step by step instructions that are clear and easily digested.

Very Nice Clear explanation of the concepts with easy to follow step by step demonstration.

I really appreciate the way Mosh goes step by step and explains every concept he covers.

The course is very well explained, step by step.

Word by work ..i love it Guide step by step!

Step by step build and introduction.

Read more

intermediate and advanced courses

One of the best courses I've taken on udemy and I'll definitely be doing the intermediate and advanced courses.

I'm really looking forward to his intermediate and advanced courses on C#.

Looking forward to working my way through the intermediate and advanced courses.

Looking forward to the intermediate and advanced courses.

Looking forward to the intermediate and advanced courses offered by Mosh.

Looking forward to the Intermediate and Advanced Courses ahead!

I have your Intermediate and Advanced courses which I will start after I review some of the topics in this course again.

I have already bought both Intermediate and Advanced courses midway, and i think i will not regret it.

While the instructor's intermediate and advanced courses must be purchased separately, I have purchased both in good faith, as I can already tell that they will be worth it.

And having this be the first course I've taken with quizzes, the quizzes also helped to make sure i was retaining what I've learned so I did enjoy that and hope to see more in the intermediate and advanced courses.

Anyway, overall it's a great course and I have purchased the intermediate and advanced courses as well to further deepen my knowledge.

Very good intro course to C#, initially I purchased this course to learn the basics well enough to present the language to my class in an undergrad course but was so interested in furthering my learning that I decided to purchase the intermediate and advanced courses as well.

I was already familiar with most of this content, but I enjoyed reviewing some of this basic stuff, in preparation to take on the intermediate and advanced courses.

This was an excellent course and I am now going to take the intermediate and advanced courses so I can start using them in my career.

Read more

computer science

I am a college professor myself (Engineering and Computer Science) and I can say: you're a great instructor!

So far pretty straight forward and Mosh seems to eexplain things well I'm enjoying the course I have studied a lot of Java from my computer science classes in college and I am starting to learn C# on my own.

For example the "value types" vs "reference types" lecture is a great way to introduce some computer science topics that really help understand what is going on under the hood!

I am using all sources i can to learn C# as a complete beginner in computer science and Mosh courses are my n.1 so far.

I'm currently studying a Bsc in Computer Science, and despite dabbling with C# on a number of occasions it's never really stuck in my head.

I'm well versed in C and C++, and lately have been using Java since I am helping instruct AP Computer Science in a local high school This course proceeds very clearly and logically from beginning to end.

One of the biggest reasons for this is that most 'beginners' guides I've found fall under one of two categories - 1: They are teaching a new language to someone who already knows how to code and assume a knowledge of computer science and coding in general that a beginner doesn't have; or 2: They are designed for computer science/engineer types, and assume a university level knowledge of mathematics.

Now I feel that it's worth paying the price for this course than the £9000 I paid in uni for my Computer Science degree.

It was refreshing to see an instructor who introduces lower level computer science topics inside the material to better piece together teachings!

I come from the JavaScript world and have no formal Computer Science training, so the ground-up approach was really useful for me stepping into a new language.

It's really helping me perceive a better understanding in my future career in computer science and game developing!

I graduated from a BCS in Computer Science and started this course as a mean to learn C#.

I would have liked the instructor to touch more upon .Net framework along with computer science/programming in-correlation to C# (At least I know where to apply future research).

I'm currently in my first year of university studying Computer Science and this course is a really useful tool to help my studies and practice with coding.

Read more

version of visual studio

Using not up-to-date visual basic version of Visual Studio making it hard to follow, had one part that didn't work at all from his code.

It just need to be updated with the new version of Visual Studio.

This course uses an outdated version of Visual Studio, so when you actually boot up the program to follow along, all of the information Mosh gives doesn't line up with the new appearance of Visual Studio.

I couldn't figure out what version of visual studio he was using and that is messing me up.

its good so far but i wish a notification about what version of visual studios and what addons you should install.

The only trouble I had was that my version of Visual Studio seems to be a little different and a few concepts were hard to apply.

The version of VS is however quite old and the author does a few times mention ReSharer-features that are nowadays found in the free version of Visual Studio.

Minor Points: The version of Visual Studio being used in the videos is older than the current version by at least two versions, so there are parts that will be displayed differently.

The material is well structures and well presented, but the version of Visual Studio in the videos is old, and some of the features and commands have changed, making it hard to follow at some points Currently learning C# as an alternative to my Java training, which is what I'm certified in, and performed with in my last job.

I learned a lot about harambe I have learned many small details about C# so far, I am ready to start practicing coding applications and games Liked the course Very well explained The videos were made with a outdated version of visual studio but other than that it was great.

so far very good course does not tell me which version of visual studio i need to have installed.

Read more

very well put together

It was very well put together, and you'll learn the basic building blocks to any coding language (variable, loops, conditions, etc.

Very well put together with good exercises to practice what was taught in the lesson.

Very well put together.

Very well put together!

I think it is very well put together and organized.

Everything is well explained and very well put together.

It seems to be a very well put together course.

Read more

real world applications

Mosh emphasis on those things which are important in making real world applications.

The course would be better if it showed more real world applications of the codes.

A first level teacher able to explain complex concepts with simple language and practical examples that could serve in real world applications.

I highly recommend this course to anyone, who wants to learn an important language, with real world applications.

A bit more real world applications would be great.

· You mention "when making bigger applications" and "when making real world applications" a lot, but some behaviors that this course seems to encourage can lead to memory leaks and other exceptions.

The instructor explains things in a way that makes sense for real world applications.

I would suggest applying the concepts like namespaces, classes, methods/functions, etc... to real world applications.

I enjoy the information / overview at the end of the lectures, it helps conceptualize real world applications.

Mosh is smart but he spends little to no time providing real world applications to his content.

Read more

hello world

I did not get all the additional Namespaces to show up on my Hello World program.

its very good it might be worth updating the hello world lecture as its very confusing as VS looks completely different when you start a project Fantastic course.

Simple yet effective Introduction to basics of C# so far so good Amazing yes It's a great trip into C# Typed hello world, pretty cool.

This is not just a Hello World course, it took me through some great examples.

Over many years, I've tried different books, tutorials, courses, youtube videos, wikis - pretty much every kind of resource available online, and never found any that I've been able to get much further than "hello world".

Clear, Concise and structured in such a way that when writing the ubiquitous "Hello World" as with any language course, this time however having a greater understanding of it's place in the greater scheme of .Net applications.

Goes into detail about the entirety of Visual Studio, not just how to write a "hello world".

I do wish the hello world was not a standard for introduction.

Easy to follow and informative I've attempted programming languages before such as VB and Java, so am used to the 'Hello World' program in some form or another.

I'm using Visual Studio 2015, but when I ran the program Hello World, I had a lot more text in the window than what was demonstrated here.

I might kick up the speed setting a bit and might adjust the rating later in the course All weekend I attentively read books about C# - and wrote "Hello World" on Visual Studio - had a lot of definitions and concepts in my head.

I've just reached the section where you're supposed to write your first very basic program and "Console" is not recognized as a command so the line of code Mosh uses, "Console.WriteLine("Hello World");" doesn't work properly anymore without additional set up that's not included in the tutorial.

Understandable language luv my hello world Comprehensive The information is very straight forward so far.

Read more

worth every penny

This course is worth every penny and second of your time.

It's worth every penny!

This course is great, worth every penny.

Worth every penny, thank you so much!

Just finished to the end and it really is worth every penny.

Thank you for being an excellent instructor and I can say so far its worth every penny even if just for a refresher of fundamental principles of the language.

But its worth every penny.

His content is worth every penny.

Read more

look forward to completing

I've signed up for your other 2 course in C# and look forward to completing them.

I also appreciated Harlan answering everyones questions and look forward to completing your C# Intermediate, C# Advanced and Asp.Net courses.

I feel I'm coming to master the simple starting parts of C# and look forward to completing this class and moving on to more advanced C# classes.

what a fantastic companion course when looking at working with unity atleast now I have an understanding of functions classes and other elements I look forward to completing this course and many more in future.

Read more

entity framework

After completing the course, I am satisfied with the way he teaches, the Course is very good and has all the basic knowledge, also shows easy to understand examples, I'll say this, I am very satisfied that I got this course and all the related course from him about C# which are; C# Intermediate: Classes, Interfaces and OOP C# Advanced Topics: Take Your C# Skills to the Next Level The Complete ASP.NET MVC 5 Course Entity Framework in Depth: The Complete Guide I really like the pace of the course and also the way Mosh uses examples to show the concept.

I've currently watched Mosh's MVC, C# beginner/advanced, entity framework and visual studio tips videos which are all very good.

I took this class because I've done some VB.NET development in the past with Visual Studio 2008, but want to learn newer Microsoft technologies (WCF/Entity Framework/Xamarin & WPF), where all most classes and coding examples seem to be in C# (the .NET gold standard).

I followed this course up with Mosh's Intermediate and Advanced courses, as well as his Entity Framework and MVC courses, and as a result I now have the skills and background to build and deploy my own applications with confidence.

I already bought the intermediate couse and his course on Entity Framework.

I'm currently taking his entity framework course and it has accelerated my learning in that topic.

Looking forward to finish the next 2 C# courses, ASP.NET MVC5, Entity Framework and the upcoming Xamarin!

I decided to purchase all three of his C# courses and after I finish them, I will take the Entity Framework course.

But it was enough that I learned to create controllers, use Entity Framework to create databases, etc.

Read more

basic building blocks

This course is FANTASTIC about taking concepts and layering them on top of one another until they make the basic building blocks of C#.

Even for an experienced programmer beginning to learn C# this course is well paced and full of useful reminders about coding as well as introducing the basic building blocks/concepts of the C# language Mosh's explanations are detailed and informative.

Awesome Very straight forward about the content of the course and I liked how he broke down how an applications are compiled and what the basic building blocks are.

till now all good good cource I like that he starts with very basic building blocks for learning.

Read more

object oriented

If you know you're basics, start with the intermediate as it begins with object oriented programming.

I was able to program in C but nothing aboute classes, object oriented programming... it was a good step by step introduction on C#... 5 stars if we can get the slides of the theory...

If you know other programming languages, even if they are not object oriented, you will get the hang of it quite fast.

Would like to learn about object oriented programming in this course too.

Goes from the Basics to Object Oriented Programming and classes/methods/fields in a matter of minutes.

Object oriented programming is making a lot more sense after watching half the video.

I am using this as a basic review, I am familiar with other object oriented programs.

I loathed doing any kind of object oriented programming with a compiled language, but so far this has been very informative, and he does a great job of covering the topics.

Read more


An overview of related careers and their average salaries in the US. Bars indicate income percentile.

Happy Consultant $68k

Happy 1 $88k

Retired happy and smiling $104k

Write a review

Your opinion matters. Tell us what you think.

Rating 4.5 based on 7,298 ratings
Length 5.5 total hours
Starts On Demand (Start anytime)
Cost $17
From Udemy
Instructor Mosh Hamedani
Download Videos Only via the Udemy mobile app
Language English
Subjects Programming
Tags Programming Languages Development

Similar Courses

Sorted by relevance

Like this course?

Here's what to do next:

  • Save this course for later
  • Get more details from the course provider
  • Enroll in this course
Enroll Now