Introduction to Visual C# Development

Introduction to Visual C# Development
Slide Note
Embed
Share

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.

  • C# Development
  • Visual Studio
  • .NET Framework
  • C# Settings
  • Programming

Uploaded on Mar 04, 2025 | 0 Views


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


  1. In The Name Of Allah, The Beneficent, The Merciful Introduction C# www.CSharpSchool.blog.ir

  2. Contents Visual Studio 2012 IDE Creating Applications Console Application Windows Forms Application ASP.NET Web Page C# and the .NET Framework 2

  3. Setting the Visual C# Settings 3

  4. 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

  5. 5

  6. 6

  7. 7

  8. 8

  9. Creating a Console Application 9

  10. 10

  11. 11

  12. 12

  13. Write the code and press Ctrl-F5 13

  14. 14

  15. Creating a Windows Forms Application 15

  16. 16

  17. 17

  18. Drag & drop a label and button onto the form 18

  19. Double-click the button 19

  20. Write the code and press Ctrl-F5 20

  21. Click the button 21

  22. Creating an ASP.NET Web Page 22

  23. Do NOT select File -> New -> Project -> ASP.NET Web Forms Application 23

  24. 24

  25. Right-click the project name and select Add -> Add New Item (equivalently: Add -> Web Form) 25

  26. 26

  27. Switch to Design View 27

  28. Put a Label, press the Enter key, and put a Button 28

  29. Double-click the button 29

  30. Write the code and press Ctrl-F5 30

  31. Click the button 31

  32. 32

  33. 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

  34. 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

  35. Solution Explorer Designer Toolbox Properties Window 35

  36. Solution Project Source Files Source Code 36

  37. 1393

Related


More Related Content