- [Narrator] C# is easily my favorite. It's fast, expressive and capable, and the focus of this course is the recent publication of Visual Studio for Mac, and with that, the ability to create applications that run on a Mac, using C#. Visual Studio for Mac is different from the classic Windows version that's been around in one form or another for as long as I can remember. The Mac version feels well, Mac-ier, for lack of better term. Some parts of the application look a lot like the Windows version while other parts look a lot like Apple's Xcode.
The differences between the tools on the different platforms stands in stark contrast to most of the IDE's that are cross platform. For example, if you use the C# IDE from JetBrains, called Rider, it's identical on all the platforms where it runs. The same can be said for other IDE's like Eclipse. But Visual Studio for Mac and PC are very different and that's one big reason why I wanted to dedicate a C# course to all you Mac users out there. This course is divided into chapters.
Right now, you're in the Introduction. We'll talk about what to expect from the course, pre-requisite knowledge you'll need to be successful in the course and finally, how to use the exercise files. We'll talk a little bit about what C# is and why you'd want to use it to develop software for the Mac. We'll include an overview of the language, a short history of Visual Studio for Mac, the differences between the various versions of Visual Studio for Mac. At the end of the chapter, we're going to install Visual Studio for Mac and create a simple application containing the usual HelloWorld for the console.
In the chapter following, we're going to get you started in C# with a gentle introduction. We'll cover the fundamentals like classes, variables, methods, name spaces, auto properties, encapsulation, and constructors. Even if you're an experienced C# developer, I recommend watching at least the first few videos in this chapter because the work flow on a Mac is a little bit different than it is on a PC. As we're doing all this, we're going to be working on a project, since I think that's the best way and most realistic way to learn. When we're done, we'll have learned how to make a re-usable class library, which we'll then import into a .net core command line application and a native Mac desktop application.
Next, we're going to take a deeper dive into C# programming by working with arrays, lists, loops, and a few other essential topics like random numbers and how to use your class inside a .net core console application. In the final chapter, we'll take that same library and use it inside a very simple desktop application for the Mac. The bulk of the last chapter is going to cover create a user interfaces with UI Builder, which is part of Xcode and then wiring those up to our C# code, to use the expose properties and methods in our library.
We've got a lot of ground to cover, so why don't we roll up our sleeves and get started?
- 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