First Careful Steps Towards Success In C#

A Friendly Invitation To Real C#
4.7 (40 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
238 students enrolled
$19
$20
5% off
Take This Course
  • Lectures 31
  • Length 2.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 2/2016 English

Course Description

Dear Visitor,

C#, pronounced as C-sharp, is a powerful programming language from Microsoft. This course is only three hours long, with an average video length of about six minutes. The lessons are a combination of videos and presentations. Please be sure to look under "view resources" to find the code and the presentations. The code examples are simple and focus on only one or two concepts at a time to ensure you fully grasp the material presented. Since the concepts presented are of a fundamental nature, they apply to some extent also to languages like Java. The videos also including zooming, which means the key points are further emphasized to be sure you truly understand. C# has been and remains one of the most popular, and most powerful programming languages to learn. Let's get coding!

Note: Template for promo licensed from PRESENTERMEDIA

What are the requirements?

  • Student should be able to download and install Visual Studio Community 2015

What am I going to get from this course?

  • Understand the basics of creating and running a simple console program
  • Understand how to print output to a console window
  • Create variables and set their values
  • Create variables and change their values and print them again
  • Describe an object with different data types
  • Understand how to use tool tips to understand code better
  • Use method chaining to write less
  • Use method nesting to write less code
  • Please look at the curriculum to see the rest of the topics covered

What is the target audience?

  • Beginners should take this course
  • Intermediate programmers should not take this course
  • Advanced programmers should not take this course

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Why Choose C# and Visual Studio Community
01:44

Main Idea: C# gives us the ability to build a great variety of software applications

Key Points:

  1. C# is pronounced "c sharp"
  2. A programming language is a set of instructions given to a computer so it can take certain actions
  3. C# is a programming language that can be used to create a great variety of different applications, like
    • Windows applications
    • web applications
    • video games for Windows and phones
  4. Many of the basic features of C# are very similar to the ones found in programming languages like Java
02:10

Main Idea: Visual Studio Community 2015 runs on computers that meet certain operating system and hardware requirements

Key Points:

  1. Search the Internet for "visual studio community 2015"
  2. The System Information window in Windows can be used to check whether a computer has the required:
    • operating system
    • processor
    • RAM memory capacity
    • free hard disk space
    • screen resolution
    • Additional requirements may apply, depending on the exact specifics of your computer
01:24

Main Idea: Visual Studio 2015 Community is free to download and use

Key Points:

  1. It's a large application, so patience is required when downloading and installing it
  2. As the application installs, errors can arise because each computer is different
  3. There are many available resources on the Internet to assist during the installation process
Section 2: Learning The Fundamentals of Programming In C#
07:21

Main Idea: Console applications are the easiest place to begin learning C# programming

Key Points:

  1. Understand what a console application is
  2. Learn how to create a console application project in Visual Studio Community 2015
  3. Delete the default code and replace it with a simpler version
  4. Understand the simplified code in detail
  5. Learn how run the code
  6. Learn the meaning of the green and yellow lines that show in the code editor window

06:19

Main Idea: A program that can produce output is immediately more useful to a user

Key Points:

  1. Understand the purpose of using System;
  2. Add one line of code to the body of Main
  3. Understand the concept of a string as a sequence of characters between double quotes
  4. Understand how to change the environment font
03:37

Main Idea: C# comes with a large amount of functionality already prebuilt

Key Points:

  1. Name spaces are used to organize code
  2. Names spaces store classes
  3. Classes store methods
  4. IntelliSense makes Visual Studio Community 2015 easier to use by suggesting what functionality is available as we type code
04:37

Main Idea: Tool tips provide immediate access to a wealth of contextually relevant information

Key Points:

  1. Create a simple console application
  2. Add one line of code to print output
  3. Hover mouse over WriteLine, and go through the tool tip information that shows
03:47

Main Idea: Write less code, but accomplish the same results by adding the word "static" to a using statement

Key Points:

  1. Replace the using System; statement with using static System.Console;
  2. Understand how changing the using statement impacts code that can print output
03:19

Main Idea: Visual Studio has many ways of accessing project files easily and quickly

Key Points:

  1. View the files that make a project by opening Windows file explorer
  2. Learn how to launch a project from the folder where it's stored
  3. Learn how to launch a solution from the folder where it's stored
  4. Understand that a solution can consist of multiple projects
06:26

Main Idea: Variables are used to represent changing, or unknown quantities

Key Points:

  1. Understand the need for variables
  2. Become familiar with a possible mental model for representing variables
  3. Understand how to declare a variable, and set its value
  4. Learn how to use string interpolation and why the dollar symbol is needed
  5. Understand how to print a variable value using string interpolation
05:39

Main Idea: A programmer should never feel uncertain about the values of variables as a program runs

Key Points:

  1. Understand how to launch a program through the debugger
  2. Understand how the debugger helps to see variable values
  3. Become familiar with the concept of default values and how to see them in the debugger
06:15

Main Idea: C# has a variety of data types can be used together to produce accurate descriptions of objects

Key Points:

  1. Understand how to create and set multiple variables in C#
  2. Become familiar with the concept of camel casing in variable names
03:25

Main Idea: There are many key combinations that make using Visual Studio much more efficient

Key Points:

  1. The tab key can move a block of highlighted code right
  2. The shift+tab key combination can move a highlighted block of code left
  3. Ctrl+M+P can be used to hide the little minus signs that allow us to collapse code
  4. Pressing alt and dragging can highlight a rectangle of code
  5. A context-sensitive menu is one that shows different options based on where a click occurs
03:05

Main Idea: Visual Studio has a huge database of information already present, so time can be saved searching the Internet

Key Points:

  1. Add a line of code that generates an error
  2. Understand how to take a step towards understanding the error better
  3. Fix the error so the code works
  4. Understand that some errors prevent a program from being built, and some error sdo not prevent a program from being built

07:31

Main Idea: C# has the same arithmetic operators, like addition, that we learned to use in school for basic math

Key Points:

  1. + symbol allows us to produce the sum of two values
  2. - symbol allows us to produce the difference of two values
  3. * symbol allows us to multiply two values
  4. Understand the purpose of tool tips that show when cursor is hovered over an operator
03:04

Main Idea: To save time creating variables, it's possible to embed calculations directly in WriteLine

Drawback: The values calculated in WriteLine are not saved to variables, so they can't be used again

Key Points:

  1. Create two variables of type decimal
  2. Display the result of multiplying them directly inside WriteLine
Section 3: Doing Slightly More Sophisticated C#
04:58

Main Idea: Understanding the difference in results produced by the slash symbol

Key Points:

  1. Dividing two integer numbers using the slash symbol produces one result
  2. Dividing two double numbers using the slash symbol produces a different result
05:42

Main Idea: Understanding the difference between results produced when using the / and % for division

Key Points:

  1. The slash division symbol tells how many times whole the bottom of a division goes into the top
  2. The percent symbol tells the remainder of a division
06:08

Main Idea: A truly useful program might have to evaluate complex mathematical expressions

Key Points:

  1. The evaluation of mathematical expressions can be controlled using grouping symbols
  2. Mathematical expressions can be as simple or as complex as necessary
  3. Create and run code to find the average of three salaries
05:57

Main Idea: Replace long expressions with more compact ones to save typing and space

Key Points:

  1. Understand how to add to and subtract from a variable, and save back to the same memory location
  2. Understand how to multiply and divide a variable, and save back to the same memory location
  3. Understand the relationship between x=x+1 and x+=1 and similar assignment statements
05:06

Main Idea: C# has two very compact operators that allow us to grow a variable value

Key Points:

  1. Understand the operation of ++x, which is the pre-increment operator
  2. Understand the operation of x++, which is the post-increment operator
  3. Understand how these operators execute inside WriteLine
06:40

Main Idea: Some things do not change, and C# allows us to represent these in code

Key Points:

  1. Understand why constants are needed
  2. Create a constant in C#
  3. Understand how to make use of a constant in a calculation
  4. Understand what happens when an attempt is made to change a constant value
05:53

Main Idea: Variables have a life cycle, just like everything else, and understanding this cycle leads to fewer errors

Key Points:

  1. Understand the life cycle of a simple variable
  2. Become familiar with the concept of variable scope, or context
  3. Become familiar with the consequences of trying to reach a variable outside its scope
04:08

Main Idea: It's possible to format output so it looks as best as possible to users

Key Points:

  1. C# has format specifiers like C for currency
  2. Format specifiers are embedded into output
  3. The logic presented in the video applies to most format specifiers
04:57

Main Idea: The var keyword, in many cases, can recognize the data type of a variable automatically

Key Points:

  1. The var keyword can recognize the data type of a variable
  2. The var keyword can recognize the data type of a quantity that results from a calculation
  3. To check on the data type of an implicitly typed variable, hover your mouse over var
Section 4: Collecting And Operating On Input
06:25

Main Idea: Users expect to be able to interact with programs by entering input and receiving output

Key Points:

  1. Understand how to show a prompt
  2. Understand how to read string input
  3. Learn how to call a method on the input
  4. Create an example of output
  5. Understand how to ensure data types on the left side of "=" are equal
06:06

Main Idea: Reading numerical input requires a conversion step

Key Points:

  1. Read input first with ReadLine()
  2. Understand how to pass a variable into a method for processing
  3. Understand why double.Parse() is needed
  4. Understand how to ensure data types on the left and right sides of "=" match
06:03

Main Idea: Method nesting allows us to create less code

Drawback: Method nesting prevents us from saving variable values at each stage

Key Points:

  1. Understand how to replace two lines of code with one line of code
  2. Understand how to be sure the nested and nesting methods are compatible
04:30

Main Idea: Method chaining allows us to process input using compactly written code

Drawback: Intermediate processing results are not saved in variables

Key Points:

  1. Understand how to replace multiple lines of code with a single line of code
  2. Understand the reason for using the methods in this particular example
  3. Understand that the data type of the value returned by the last method should match the data type of a variable
04:40

Main Idea: Data conversions allow one type of data to be converted to another type so it's easier to work with it

Key Points:

  1. Learn how to use the Read method to read an integer
  2. Understand how to convert an integer to a character
  3. Become familiar with the concept of an explicit data cast
Section 5: Conclusion
00:40

Key Points:

  1. C# remains popular as a programming language
  2. There are many jobs in C#
  3. It's always a great tool for tinkering and learning more
  4. Please note the 20 hour course is considerably more challenging

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Tom Owsiak, Web, Math, Stats., and Physics Expert

  • I have nine years experience as a teacher of mathematics, physics, statistics, and programming. I worked for five years as a database programmer using various technologies such as .NET, Clipper, SQL, SQL Server, SAS, Excel, and others. I'm the publisher of one of the most successful programming courses on udemy, called "Learn C# With Visual Studio 2013". Currently, I work as a mathematics and computer science teacher at a college in NY.
  • Related Education:
  • Master of Science in Applied Statistical Computing, Kennesaw State University
  • Bachelor of Arts, Pure Mathematics, Queens College
  • Associates of Science in Computer Programming
  • Creator of more than 1620 math, physics, statistics and programming videos
  • Programmer of more than 500 educational simulations


Ready to start learning?
Take This Course