Intro to .NET

By Cameron Aavik

About Me

  • UQCS Secretary
  • Dev @ Redback Technologies
     
  • Windows
  • Visual Studio/VS Code
  • 4 Spaces

What is .NET?

.NET Standard Library implementation + Runtime

Example .NET Implementations

  • .NET Core: Cross-Platform, but fairly new
  • .NET Framework: Windows only, very mature
  • UWP: Touch-enabled Windows applications
  • Mono: Cross-Platform, open source

I thought .NET was C#???

C# is a programming language that typically runs on a .NET Implementation.

 

C# is the most popular .NET language, but there are others, for example F# and Visual Basic.

 

In this talk I will be using C# 7 on .NET Core 2.0

C# vs Java Hello World

C# looks a lot like Java

// Java
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}
// C#
public class HelloWorld {
    public static void Main() {
        System.Console.WriteLine("Hello World!");
    }
}

Where to download?

http://dot.net/

 

This will show you all you need to download .NET to play around and develop.

 

I will now walk through writing some C# code

Intro to .NET

By Cameron Aavik

Intro to .NET

  • 294