C# Notes 02

Quick Overview of the Visual C# Express Edition IDE

Note: For learning purposes this version will cover C# in the VS IDE and C# in the VS-Community

Summary

These notes introduced some of the tools that you will use throughout the rest of the notes. You have had a quick tour around the Visual Studio 2013 development environment and used it to build two types of applications. The simpler of these, the console application, is quite enough for most needs, and it enables you to focus on the basics of C# programming. Windows applications are more complicated but are visually more impressive and intuitive to use for anyone accustomed to a Windows environment (and let's face it, that's most of us).

Now that you know how to create simple applications, you can get down to the real task of learning C#. After dealing with basic C# syntax and program structure, you move on to more advanced object-oriented methods. Once you've covered all that, you can begin to learn how to use C# to gain access to the power available in the .NET Framework.

For subsequent notes, unless otherwise specified, instructions refer to VS, although, as shown in these notes, adapting these instructions for VS-Community is not difficult, and you can use whichever IDE you prefer, or to which you have access.

What You Learned in these notes

Topic

Key Concepts

Visual Studio 2013 settings

These notes requires the C# development settings option, chosen when first run or by resetting settings.

Console applications

Console applications are simple command-line applications, used in much of this book to illustrate techniques. Create a new console application with the Console Application template that you see when you create a new project in VS. To run a project in debug mode, use the Debug ⇨ Start Debugging menu item, or press F5.

IDE windows

The project contents are shown in the Solution Explorer window. The properties of the selected item are shown in the Properties window. Errors are shown in the Error List window.

Windows Forms applications

Windows Forms applications are applications that have the look and feel of standard desktop applications, including the familiar icons to maximize, minimize, and close an application. They are created with the Windows Forms template in the New Project dialog box.


Programming 2015 -2016