Introduction to Visual C# Development
Visual C# is a powerful programming language within the .NET Framework, widely used for developing diverse applications ranging from console applications to Windows Forms applications and ASP.NET web pages. This introduction covers setting up Visual Studio 2012, configuring C# settings, creating console and Windows Forms applications, and running and debugging code. Dive into the world of C# programming with this comprehensive guide.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
In The Name Of Allah, The Beneficent, The Merciful Introduction C# www.CSharpSchool.blog.ir
Contents Visual Studio 2012 IDE Creating Applications Console Application Windows Forms Application ASP.NET Web Page C# and the .NET Framework 2
Visual C# Keyboard Settings After installing Visual Studio 2012, select the Visual C# Settings from the Default Collection of Settings window. This sets the keyboard commands and the user interface for the C# environment. Run: Ctrl-F5, Debug: F5, Build: Ctrl-Shift-B, etc. New Website command in the Start Page if you select Web Development settings. If you miss the window, or select another setting, then select the command Import and Export Settings from the Tools menu. 4
Write the code and press Ctrl-F5 13
Creating a Windows Forms Application 15
Drag & drop a label and button onto the form 18
Write the code and press Ctrl-F5 20
Do NOT select File -> New -> Project -> ASP.NET Web Forms Application 23
Right-click the project name and select Add -> Add New Item (equivalently: Add -> Web Form) 25
Put a Label, press the Enter key, and put a Button 28
Visual Studio 2012 A powerful integrated development environment (IDE) Automates the steps required to compile source code Intelligently detect errors and suggest code where appropriate as you are typing (Intellisense) Includes designers, enabling simple drag&drop design of UI elements Includes starter projects Enables deployment Enables debugging etc. 33
Visual Studio Solutions You create solutions in Visual Studio Solutions contain projects Solutions can contain multiple projects This enables you to work on shared code 34
Solution Explorer Designer Toolbox Properties Window 35
Solution Project Source Files Source Code 36