Learn how to create a project, alter the main file generated by Visual Studi, and how to compile and run the program.
- [Narrator] Whenever I'm teaching software development,…I usually try to get you to a place…where you've written a little bit of code…and you've seen it compiled and run…and I try to do that as early as is feasible.…Now that you've installed Visual Studio for Mac,…let's follow an age-old ritual…dating back to Carrington and Richie's…seminal programming text on the C language.…Let's make a Hello World app.…In your IDE click New Project.…You can see we have the ability to choose…from a myriad of project types.…
I'm going to select dot net core…and select a console application…and then I'll click next.…A console app is the perfect starting point…since it doesn't have the overhead…of learning to develop a user interface.…Instead a console app runs in the terminal.…The first thing we'll do is give our project a name.…I'm going to call mine Hello World.…And you'll notice that it also…fills it into the solution name.…Now most of the time you're not going to want that…and when we create our first real project…we will change the solution name.…
Author
Released
1/17/2019- 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
Duration
Views
Related Courses
-
Docker for .NET Developers with Visual Studio
with Lee Brandt46m 52s Intermediate
-
Introduction
-
Course overview2m 54s
-
Using the exercise files1m 50s
-
1. C# on the Mac?
-
C# for Mac development?3m 15s
-
Overview of the C# language3m 35s
-
-
2. Getting Started with C#
-
Understanding C# syntax2m 20s
-
Variables and types in C#16m 58s
-
Project rules6m 18s
-
Creating a class5m 1s
-
Auto-properties2m 15s
-
Encapsulation8m 15s
-
Constructors6m 54s
-
Random number method8m 1s
-
Generating the character3m 59s
-
-
3. Deeper into C#
-
Using the library7m 23s
-
Overriding ToString10m 22s
-
Using for loops4m 55s
-
Simple arrays7m 17s
-
Working with lists: Part 15m 23s
-
Working with lists: Part 27m 25s
-
Updating the ToString method3m 52s
-
Flow control9m 46s
-
Building and testing the app6m 13s
-
4. Creating a Mac App
-
Setting up the GUI project3m 46s
-
Customizing the controls3m 8s
-
Attribute inspector3m 48s
-
Creating Actions2m 20s
-
The view controller8m 34s
-
Adding a new text field2m 54s
-
Multiline text field2m 58s
-
Working with table views5m 53s
-
Table view outlets2m 28s
-
Finish the view controller3m 55s
-
-
Conclusion
-
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.
CancelTake 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.
Share this video
Embed this video
Video: Creating a simple console app