Welcome to my website

By:Nathen Warboys

Brief Overview Of C# Language:

C# is one of the most used programming languages today. It is a similar programming language to Java and c++. Anders Hejlsberg originaly was the project leader for C#. He formed a team to build the new programming language, the name for the language was "cool". "Cool" stands for "c" like object oriented language. Although for trademark reasons they did not keep that name, When the Net project publically announced the name on July 2000 at the Professional Developers Conference it was renamed c#.

How To Create A Program:

-Click on Visual Studio
-On the file menu click new project
-If a box appears with different program language options, click C#
-After that click Windows Form Application, and type in what you want to call it at the bottom of your screen. Then hit OK
-The program is titled after what you name it and you can switch from code to Form1 at any time buy hitting the two buttons labeled form1 and Form
-In the toolbox on the left hand side of the screen you can access any tools you want like text boxes, or buttons,etc..
-If you want to just have a box appear and say something, your code is Console.Writeline("your text here"), it will apppear on screen

How To Create Output:

An output will output anything you do to the program in either a "Windows Form Application", "Console Application", etc..
Examples of output are: Console.Writeline(""), MessageBox.Show("")

How To Declare Variables:

Boolean:

To declare the Boolean you have to assign it to a variable "true or false", the code for keeping track of the variable Boolean is Boolean BlnVar;

Integer:

To declare an integer as a variable you have to type in Int i(or any letter of your choice) = 123:. This means that you are assigning 123 to Int.

Floating Point(double, or decimal):

Most floating points are double and are mostly used in cash registers or anything else like simple math.

String:

Strings are words instead of numbers so they are considered simple. StrString is an example of string.

How To Get Input:

Console.Writeline("Whats your name") is an example of input

Basic Math Operations:

int.Tryparse(txtOp1.Text, out intOp1);. This is an example of opening a calculator for basic math.

Concatenating strings:

Concatinating strings is often reffered to as adding strings although that is not possible to add two different strings together. But you can group two strings together.

Works Cited:

-http://msdn.microsoft.com/en-us/library/360kwx3z(v=vs.90).aspx
-http://msdn.microsoft.com/en-us/library/5kzh1b5w.aspx
-Unit 1 Workbook