Before you begin
This is a Xamarin cross-platform class about C#. You can use either Visual Studio for Mac or Visual Studio for Windows. Please read the setup requirements if you need help installing the Xamarin development environment.
Overview
This session shows you how to create, build, and run simple C# programs.
Objectives
- Know the role of C# and Xamarin
- Set up and run your first program
- Learn the fundamentals of C#
Lecture
Learning C# with Xamarin: Introduction to C#
Exercises
Exercise materials are available from GitHub. The code can be cloned through a desktop Git client or downloaded directly as a ZIP file.
-
Hello WorldExercise
In this first lab, you will practice writing a program that prints a message to the Console. -
FundamentalsExercise
Here you will create a program that performs a few calculations and outputs the results to the Console.
Homework
Homework
This optional homework assignment will let you practice with constants, variables, mathematical calculations,
and formatted output.