

In Visual Studio installed templates select Windows Application. The Recent Projects will probably be empty since you have not yet created any Projects.Ĭlick the File menu where the is located in the Picture below. When C# loads you will see something like this. To open C# use the Start button All Program. The instructions for this lesson are below. To highlight text drag the cursor over the text.Īll the doc files for the book are in the LearningC#-Book folder.ĭo the lessons in numerical order since each lesson builds on what was in the previous lesson. V - paste - pastes text stored in clipboard to the current location. Ĭ - copy - copies selected text from current location and stores in clipboard.X - cut - removes selected text from current location and stores in clipboard. Z - undo - reverses the changes just made.
#ALTTAB HELLOWORLD CODE#
Throughout the book you will be copying text from the lesson's Word Doc to the code section of the C# Program. They put text into the Windows clipboard where it remains until other text is placed there. They are probably the most important keys available to you. These 4 keys, Z, X, C and V are used with the Ctrl key depressed. Experiment with these techniques until they become second nature.ĭepressing Alt-Tab switches between windows. Place the cursor in the title bar and drag a window to a different position.

This allows viewing a portion of each window at the same time. Windows that are not maximized can be sized by "hooking onto" their edges. Minimize 5 5 Maximize Minimize 5 5 Restore The toolbar which is at the top of every window is used to maximize or restore a given window. In order to work with the C# code and the Word doc that has the instructions for the lesson at the same time two windows are required. Preliminaries for those who do not have dual screens. Having this file open makes it easy to look at when it is called for in a lesson. The goal of this article is to teach and explain C# in such a way so that when you have finished it you will be able to program in C#.

In later lessons much of what is touched on here will become clearer. Study it carefully since it will become the foundation upon which your progress in C# will be based. This is the most important lesson in the book. If you followed the instructions in ReadmeFirst.doc C# will be installed on your computer. In the later lessons these instructions will become pretty terse but you can always refer back here to refresh your memory. Since this will be your first experience with C# there will be extensive instructions. This is the first lesson in the book "What your mother forgot to tell you about C#" or "Learning C# the easy way".
