usingMaths.com
Demonstrating and showing pupils and students one application of Mathematics.







<< PreviousNext >>

Getting Started with C#



What You Need!

You have no business being here if you are not a Windows user.

Go ahead and download Visual Studio if you don't have it already.
Hey, the Community version is now free!



Using Visual Studio

To create a new project: On the Start Page of Visual Studio, click New Project.
Select Visual C# and Windows Forms Application under the .Net Framework header.
Give the project a name. Click OK.

To create a new class file: click Project, Add Class.
Select Class, give the class a name and click Add.


Running Visual Basic Codes

To make sure your code contains no errors and see its output before you get to building it, set a breakpoint at the closing brace(}) of the static void Main(string[] args) statement in the main class:
Click on the left area of the } line to highlight it;
click Debug at the top of the window, Toggle breakpoint; a red dot appears on the } line.

Press F5, (click Yes) to see the project run to completion; or just click the Start button at the top.

Alternatively, click Debug >> Start Without Debugging (Ctrl F5) to see your output.



Notice: Our colour coding follows that of Microsoft's Visual Studio.









<< PreviousNext >>