Learn the rules of the game behind the app that you are making throughout this course.
- [Instructor] One of the most fundamental principles…in learning any new programming language…is learning how to use variables and the types of data…that go into those variables.…So let's take a look at variables and types in C#.…The first thing you need to know about C#…is that it is a strongly typed language.…This means that you have to tell C#…what kind of data you're putting into your variables…as you declare them.…C# has two different syntax formats,…you can use either the normal, strong syntax,…or you can use implicit typing.…
Implicit typing refers to a system…that just knows what type you're talking about.…Why don't we take a look at these in greater detail?…The normal, or explicit way, of doing types in C#…looks like this,…here I'm declaring a variable called foo,…and we're putting the type in front of it.…In this case, it's a 32-bit integer,…and then I'm setting that equal to the number 42.…If I wanted a string, which is alphanumeric characters,…I could say string, note the lowercase s,…the name of the variable in this case is bar,…
AuthorBruce Van Horn
- Exploring C# on a Mac
- Creating a reusable code library
- Classes and properties
- Loops, arrays, and lists
- Creating a console app
- Creating a command-line app
- Creating a Mac desktop app
- Creating a UI with view controllers and actions
Skill Level Beginner
1. C# on the Mac?
2. Getting Started with C#
3. Deeper into C#
4. Creating a Mac App
Next steps3m 14s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.