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 (///
).