Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Fundamentals of Programming: Understanding C#
Rating: 4.6 out of 5(6,216 ratings)
109,296 students

Fundamentals of Programming: Understanding C#

Begin your journey into the world of programming through a series of easy to understand video lectures.
Last updated 2/2015
English
English [Auto],

What you'll learn

  • Create computer applications to solve basic problems
  • Apply concepts of objected oriented programming

Course content

6 sections62 lectures10h 19m total length
  • Getting Started11:08

    Learn to set up Visual Studio Community Edition, create a console application, and explore the editor, main method, and basic code structure, including comments and compilation basics.

  • Declaring Variables12:08

    Learn how to declare variables in C# by choosing data types like int, double, string, bool, and char, and initialize or assign values using the assignment operator.

  • Displaying Variables in the Console15:04

    Explore the console window by displaying five basic data types—int, double, string, bool, and char—using console.writeLine and console.write. Learn placeholders, alignment, and concatenation to format output.

  • Using Arithmetic Operators18:41

    Discover how to use arithmetic operators—plus, minus, multiply, divide, and modulus—along with operator precedence and parentheses to control calculations. Learn concepts about integer vs floating division, assignment, and increment/decrement patterns.

  • Using the Bool Data Type9:34

    Explore how the bool data type stores true or false values and how comparison operators like greater than, less than, greater than or equal to, and equal to evaluate conditions.

  • Using the Char Data Type4:31

    Learn how to use the char data type in C#: declare and print single characters with single quotes, use escape sequences like newline and tab, and escape quotes.

  • Using the String Data Type12:37

    Master the string data type in C#, using double quotes and escapes, and compare strings with four methods: ==, String.Equals, CompareTo, and String.Compare. Explore length, substring, and starts with.

  • Numeric Conversions4:43

    Master numeric conversions by using implicit and explicit casts between integers and doubles, and learn how truncation can lose decimal data when converting doubles to integers.

  • Declaring Constants7:40

    Declare constants with the const keyword to create unchangeable values, illustrated by pi, then group related constants with enums like days of week for readable, type-safe code.

  • Console Input7:17

    Learn how to read user input from the console using ReadLine, store it as a string or parse it to an integer, and print personalized responses.

  • Section 1 Quiz
  • Exercise 1 - with Solution3:19

    Learn to build a simple calculator by reading two integers from the console, parsing them, summing them, and displaying a formatted equation like 'a + b = c'.

  • Exercise 2 - with Solution4:40

    Write a C# console program that reads the room's length and width, uses a constant price per square foot to calculate area and total carpeting cost, and displays the result.

  • Exercise 3 - with Solution5:16

    Learn to convert a total minutes input into hours and remaining minutes in C# by using division by 60 and the modulus operator, as shown in exercise 3.

Requirements

  • Download Microsoft Visual Studio, however we will cover this in the first lecture.

Description

What is Microsoft Visual C#?

C# (pronounced "C sharp") is a programming language that is designed for building a variety of applications that run on the .NET Framework. C# is simple, powerful, type-safe, and object-oriented. The many innovations in C# enable rapid application development while retaining the expressiveness and elegance of C-style languages.

What is this course all about?

This course is designed for people with NO prior programming experience. You will learn how to write computer programs using Microsoft Visual C#. The topics in this course are handpicked to build a strong foundation for all new programmers.

What makes this course better than the others?

This course is better than others due to the design of the lectures. Complex topics are explained in a way that anyone can understand. The instructor began as a self-taught programmer, and knows where new programmers make mistakes and get confused. All the topics in this course have the instructor’s personal tips and tricks that helped him to succeed.

Where should I go after I complete this course?

This course provides a foundation that allows you to continue your programming education in almost any area. You can stick with desktop development and learn how to build rich and immersive applications using technologies like WPF. You can enter the world of mobile development to build Android, iOS, and Windows applications using Xamarin with C#. If game development is your area of interest, you can build both desktop and mobile games using Unity with C#. If you are tired of software development, web development is also an option using ASP.NET.

Can I take the experience from this course to learn new programming languages?

Yes you can! C# is a "C" based programming language. All programming languages in the same family are extremely similar and easy to learn after learning C#. Some examples of "C" based languages are:

  • C
  • C++
  • Java
  • Objective-C
  • Perl
  • PHP
  • Python

Future courses from this instructor.

Stay tuned for future courses in:

  • Advanced C#
  • Building Real World Application using C#
  • Microsoft Certification in C#
  • Xamarin iOS
  • Xamarin Android
  • Android Development using Java
  • WPF
  • WCF
  • Data Structures and Algorithms
  • Fundamentals of Java
  • Fundamentals of C++

Who this course is for:

  • This C# course is designed for new programmers. If you have no programming experience or need a quick refresher, this is the course for you. This course is probably not for you if you're looking to learn advanced C# topics.