Section 18.4. Summary


18.4. Summary

  • C# and Visual Studio 2005 are designed to create Windows and web applications as well as web services.

  • Visual Studio provides visual design tools that enable you to drag-and-drop controls onto a form.

  • The Properties window allows you to change the properties of a control without having to edit the code by hand.

  • The events window helps you to create event handlers for all the possible events for your control. Simply double-click the event, and Visual Studio 2005 will create a skeleton event handler, and then take you to the appropriate point in the code, so you can enter your logic.

  • The partial keyword in the class definition indicates that the code to initialize the controls is in another file, ending with Designer.cs , that you can locate with the Solution Explorer.

  • C# can automatically generate documentation in XML based on comments marked with three slashes in the code ( /// ).



Learning C# 2005
Learning C# 2005: Get Started with C# 2.0 and .NET Programming (2nd Edition)
ISBN: 0596102097
EAN: 2147483647
Year: 2004
Pages: 250

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net