C# Basics Course (How To)
Offered By: Treehouse
Course Description
Overview
C# is the most popular programming language in the Microsoft ecosystem of products. C# code is designed to run fast and to be easily maintainable. In C# Basics, we'll learn how to work with C# to write simple programs.
What you'll learn
- C# syntax
- Types
- Strings
- Numbers
- If statements
Syllabus
C# Syntax
Before we can write C# programs, we need to understand variables and types. This stage will get you started.
Chevron 14 steps-  Your First C# Program3:33 
-  Course Overview2:37 
-   instructionTreehouse Features
-  The .NET Framework2:34 
-  Compile Errors5:25 
-  Comments1:06 
-  Hello, World!6 questions 
-  Variables7:09 
-  Types7:58 
-   instructionCode Challenges
-  Hello, World!1 objective 
-  Namespaces4:58 
-  Variables5 questions 
-  Types and Namespaces7 questions 
Methods
This stage will teach you how to do work by calling methods, and how to define your own!
Chevron 13 steps-  Methods6:24 
-  Defining methods4:14 
-  Methods7 questions 
-  Variable Scope3:17 
-  Defining a Method1 objective 
-  Method Arguments4:30 
-  Method Return Values6:30 
-  The Difference Between Printing and Returning1:42 
-  Variable Scope and Method Arguments5 questions 
-  Returning a Value from the Ask Method3:30 
-  Method Parameters1 objective 
-  Return Values5 questions 
-  Return Values1 objective 
Strings
Whether it's written in C# or another language, almost all software needs to work with text. Programming languages represent text in the form of strings.
Chevron 7 steps-  Strings0:46 
-  String Concatenation4:59 
-  String Interpolation3:18 
-  Combining Strings1 objective 
-  Escape Sequences2:58 
-  Strings5 questions 
-  Escape Sequences1 objective 
Numbers
Programming languages use strings a lot, but they use numbers even more often. Almost any language will let you do addition, subtraction, multiplication, division, and many other math operations. And C# is no exception.
Chevron 6 steps-  Math Operations9:14 
-  Numeric Types and Casting4:39 
-  Numeric Types and Casting1 objective 
-  Operator Precedence1:55 
-  Converting Strings to Numbers4:14 
-  Math Operations and Converting Types5 questions 
If Statements
Our last requirement is to provide a discount for large orders of cans. But how do we determine which discount to apply?
Chevron 7 steps-  Comparison Operators8:13 
-  "if" Statements7:29 
-  "if" Statements4 questions 
-  "else if" and "else"6:29 
-  "if" Statements1 objective 
-  Course Summary1:21 
-  "else if" and "else" Statements1 objective 
Taught by
Jay McGavren
Related Courses
Java Basics Course (How To)Treehouse Python: aprender a programar
Universitat Politècnica de València via edX Search a String Variable with JavaScript Methods
Coursera Project Network via Coursera JavaScript Strings: Properties and Methods
Coursera Project Network via Coursera Learn C++ by Creating
Udemy
