The core arithmetic operators are shown and their similarity to C# is discussed. The difference between let and var is shown as is the difference between == and ===.
- [Instructor] Most of the operators…are the same as in C#.…The most obvious difference however…is in the equality operator.…In typescript there are two types of equality.…The double equals symbol means…the values are equal even if their…types are not equal.…That is the value 10 is equal to…the string 10.…The three equal signs on the other hand…mean that the values are equal…in value and in type.…Let's take a look at a quick example.…
If we assign 10 to the variable a…we can test for equality.…Note that both the number 10 and…the string 10 are equal.…However, if we use the triple equal sign…while a is equal to the value 10…it is not equal to the string 10.…Make sure you're comfortable with…this distinction before moving on.…
In this course, Jesse Liberty reviews the fundamentals of TypeScript for the C# developer, including the built-in types, flow controls, and functions. He covers default, optional, and rest parameters; lambda functions; object literals; and the creation and use of custom classes. Plus, learn about other object-oriented features such as inheritance and interfaces. By the end of the course, C# developers should be well on their way to incorporating this flexible and powerful web programming language into their app development workflow.
- Setting up a TypeScript development environment
- Working with types and variables
- Using operators to control flow
- Working with parameters and functions
- Creating classes and objects
- Exploring TypeScript inheritance
- Working with interfaces