Homepage

Brief overview of the history of C#

C# is a programing language made by microsoft, it was made to use and demonstrate .NET framework due to it being in development at the time.


How to create a program in C#

From what we have learned about C#, we know to use Visual Studios to make programs in C#. however you could probably use notepad and still run C#.


How to get output out of C#

After using basic math, and possibly some loops in C#, you can put the information processed into possibly a Textbox or a Label by manipulating the C# .Text property.


How to initalize/declare variables in C#


Boolean


A Boolean is a True/False statement in C#. An example in C# code would be...

//Does C# exist in this page
Bool C# = True;


A Boolean can also be changed throughout the code in C#. An example in C# code would be...

//Doesnt involve C#
Csharp = False;


Integer


An Integer is a non-decimal number that can be declared as a variable in C#. An example in C# code would be...

//Number of "C#" on page
Int *C# = 48;


An Integer can also be changed throughout the code in C#. An example would be...

//Added C#
Int addedC# = 9001;
//More C# added
*C# = *C# + addedC#;


Floating Point (Double, or decimal)


A Floating Point (also known as a Double or a decimal in C#) is a variable that allows decimal numbers in C#.An example in C# code would be...

//half a C# on the page
Double CsharpHalfs = 5.5;


A Floating Point can also be changed throughout the code in C#. An example would be...

CsharpHalfs = CsharpHalfs + 0.5;


String


A string is a variable that stores lines of characters in C#. An example would be...

//C# text
string C# = "C#C#C#C#";


Changing strings throughout the code in C# is explained in a seperate topic in Concatenation.


How to put input into C#

You could place a text box or any kind of imput on a form, and get the user to type information into that object in the C# form.


How to use the basic math operations of C#

Addition : A = B + C;
Subtraction : A = B - C;
Division : A = B / C;
Multiplication : A = B * C;


How to concatenate strings using C#

To concatenate strings together using C#, you need to...

string A = "C";
string B = "#";
string C = "";
C = A + B;


How to cite your sources when making a website about C#

Sources - like this (not in C#)