Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ AWS Certified Developer - Associate
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Mindfulness Personal Development Personal Transformation Meditation Life Purpose Coaching Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Analysis Data Modeling Data Science
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee

This course includes:

  • 5 hours on-demand video
  • 11 articles
  • 10 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
Development Programming Languages C#

C# Basics for Beginners: Learn C# Fundamentals by Coding

Master C# fundamentals in 6 hours - The most popular course with 50,000+ students, packed with tips and exercises!
Rating: 4.6 out of 54.6 (41,153 ratings)
134,521 students
Created by Mosh Hamedani
Last updated 12/2020
English
English, French [Auto], 
30-Day Money-Back Guarantee

What you'll learn

  • Learn the fundamentals of C# and .NET Framework
  • Work with primitive types and expressions
  • Work with non-primitive types (classes, structs, arrays and enums)
  • Learn the difference between value types and reference types
  • Control the flow of programs using conditional statements
  • Use arrays and lists
  • Work with files and directories
  • Work with text
  • Work with date and time
  • Debug C# applications effectively
Curated for the Udemy for Business collection

Course content

11 sections • 87 lectures • 5h 24m total length

  • Preview01:21
  • Preview01:40
  • Preview00:14
  • Asking Questions
    00:33
  • Before You Get Started
    00:50

  • Introduction
    00:55
  • C# vs .NET
    00:53
  • What is CLR?
    02:12
  • Architecture of .NET Applications
    02:42
  • Getting Visual Studio
    1 page
  • Our First C# Application
    09:53
  • What is ReSharper?
    00:28
  • Fundamentals of C# and .NET
    3 questions
  • Summary
    01:13

  • Introduction
    00:26
  • Variables and Constants
    08:43
  • Overflowing
    02:13
  • Scope
    01:02
  • Demo: Variables and Constants
    11:27
  • Type Conversion
    04:48
  • Demo: Type Conversion
    10:16
  • Operators
    04:12
  • What are Logical Operations?
    2 pages
  • Demo: Operators
    06:21
  • Comments
    01:43
  • Primitive Types and Expressions
    6 questions
  • Summary
    00:35

  • Introduction
    00:25
  • Classes
    05:55
  • Demo: Classes
    08:27
  • Structs
    01:28
  • Arrays
    02:15
  • Demo: Arrays
    03:51
  • Strings
    05:49
  • Demo: Strings
    07:42
  • Enums
    01:47
  • Demo: Enums
    07:37
  • Preview03:14
  • Preview05:48
  • Demo: Reference Types and Value Types
    03:48
  • Non-primitive Types
    8 questions
  • Summary
    00:56

  • Introduction
    01:13
  • Conditional Statements
    02:43
  • Demo: If/Else and Switch/Case
    08:40
  • Exercises
    01:10
  • Iteration Statements
    04:00
  • Demo: For Loops
    01:56
  • Demo: Foreach Loops
    03:42
  • Demo: While Loops
    07:00
  • Preview09:05
  • Control Flow
    4 questions
  • Preview01:07
  • Summary
    00:37

  • Introduction
    00:38
  • Arrays
    04:47
  • Demo: Arrays
    10:02
  • Lists
    02:18
  • Demo: Lists
    10:11
  • Exercises
    01:20
  • Arrays and Lists
    4 questions
  • Summary
    00:38

  • Introduction
    00:17
  • DateTime
    06:20
  • TimeSpan
    07:28
  • Dates and Times Quiz
    4 questions
  • Summary
    00:35

  • Introduction
    00:17
  • String
    04:24
  • Demo: String
    12:28
  • Preview11:18
  • StringBuilder
    01:07
  • Demo: StringBuilder
    07:30
  • Working with Text
    4 questions
  • Exercises
    01:15
  • Procedural Programming
    08:45
  • Summary
    00:35

  • Introduction
    00:20
  • System.IO Namespace
    03:58
  • Demo: File and FileInfo
    05:50
  • Demo: Directory and DirectoryInfo
    06:01
  • Demo: Path
    02:53
  • Exercises
    00:08
  • Working with Files
    2 questions
  • Summary
    01:00

  • Introduction
    00:21
  • Debugging Tools in Visual Studio
    10:24
  • Removing Side Effects
    09:15
  • Defensive Programming
    07:44
  • Call Stack Window
    01:46
  • Locals and Autos Windows
    01:53
  • Debugging Applications
    4 questions
  • Summary
    00:38

Requirements

  • Visual Studio Community Edition (FREE)

Description

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.




THE COMPLETE C# PACKAGE

This course is the first part of Mosh's complete C# series on Udemy:

  • Part 1: C# Basics for Beginners: Learn C# Fundamentals by Coding 
  • Part 2: C# Intermediate: Classes, Interfaces and Object-oriented Programming
  • Part 3: C# Advanced: Take Your C# Skills to the Next Level



WHAT OTHER STUDENTS WHO HAVE TAKEN THIS COURSE SAY:

"I’ve actually landed my first job as a Junior software developer. I owe a lot of it to you because your courses have been EXTREMELY helpful. 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-DAY FULL MONEY-BACK GUARANTEE

This course comes with a 30-day full money-back guarantee. 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. 



ABOUT YOUR INSTRUCTOR 

Mosh (Moshfegh) Hamedani is a software engineer with 17 years of professional experience. 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.


Who this course is for:

  • Newbies or students looking for a refresher on the basics of C# and .NET

Featured review

Simon Borg
Simon Borg
37 courses
7 reviews
Rating: 5.0 out of 5a year ago
Thank you for making your course. You were able to explain numerous parts about programming in an easy to understand fashion, without focusing too much on the minor details that would cause one to get dis-interested. While still explaining all the important parts. Only thing I'd like more is more exercises for the using files sections and the debug section.

Instructor

Mosh Hamedani
Passionate Software Engineer and Best-selling Author
Mosh Hamedani
  • 4.5 Instructor Rating
  • 202,192 Reviews
  • 479,991 Students
  • 20 Courses

Hi! My name is Mosh (Moshfegh) Hamedani! I'm a passionate software engineer with two decades of experience and I've taught over 3 million people who to code or how to become professional software engineers through my YouTube channel and online courses.

My goal is to make software engineering fun and accessible to everyone. That's why my courses are simple, pragmatic and free of BS.

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.