Tag Archives: basics

Hello world (in C#)

This tutorial is an introduction to Xamarin Studio and the C# programming language. In this video I explain how to create a new solution in Xamarin Studio and cover some of the basics of the C# language. We will create our first program in C# and develop skills in the language before moving on to creating mobile apps.

Watch the video below and then scroll down to see the sample code. Make sure you check out the C# code reference here.

Sample C# code

This code is used in a solution and project both called MyCSharpApp created in Xamarin Studio. If you use this code, make sure your solution, project and namespace are called MyCSharpApp. The code also contains comments (after the double forward slashes) to explain what each statement in the code does.

using System;

namespace MyCSharpApp
  class MainClass
    public static void Main (string[] args)
      Console.WriteLine ("Hello, this is my first C# app"); // this displays a message in console
      Console.ReadLine (); // this waits until the user enters something

Next tutorial: Variables and strings in C#

Getting started with Adobe Illustrator

This video tutorial introduces the basic tools and features of Adobe Illustrator to help you get started with your own designs, including:

  • Fill and stroke colours
  • Line tool
  • Pen and Brush tools
  • Shape tools
  • Zoom and Hand tools
  • Selection tools
  • Anchor points and curved lines
  • Eraser

Watch the video below or on YouTube.

You can download the PDF instructions here.