<pedrocorreia.net ⁄>
 

<Learning C# Part 1: Creating Your First Program ⁄ >




clicks: 1010 1010 2006-11-17 2006-11-17 goto programacao myNews programacao  Bookmark This Bookmark This


Description: This series aims to take a beginning programmer to an intermediate level in C#. Topics covered in Part 1 include: a brief intro to the .NET Framework, customizing Visual Studio, the stages of the development process, creating a new Windows application project, using the Forms designer, and running the application.

1. Intro To .NET and Visual Studio
2. The Stages of the Development Process
3. Creating a Windows Application
4. Using the Forms Designer and Running the App
5. Aww Man... Not Homework

Introduction

The goal of these articles is to take a beginning programmer to an intermediate level in C#. By the end of this series you should be able to use object oriented to techniques to create database or xml driven websites and Windows-based applications.

I think practice problems can provide a significant benefit rather than just reading material because that's where you realize if you really understand a concept or not. So, at the end of each section there will be a small practice. If you run into any problems along the way, feel free to send me an email, or post it on the forum.

A Very Brief Intro to the .NET Framework

The first thing any C# book or class will tell you before you dive in is how great C# and the .NET framework are. Personally, this is a waste to me, since I've already made the decision at that point to learn the language anyway. So I'm going to skip over the benefits of the .NET and only briefly describe how it all works. It's important, but it won't really make you a better programmer at this stage of your development.

Basically the .NET Framework is divided into two sections: the class library (which makes your programming a lot faster) and the common language runtime (which handles the execution of your code). When you compile the application, your code is translated into an intermediate language called MSIL (Microsoft Intermediate Language). All .NET compatible languages are first translated to MSIL so that you can use code from multiple languages within the same program.
Customizing Visual Studio

If you're using Visual Studio as your IDE (integrated development environment), then there are a couple things that may be helpful to you. First off, there's IntelliSense. IntelliSense is one of the main reasons to use an IDE. It's a convenient way to auto-complete variables and access descriptions of methods and there parameters. To use IntelliSense, use Ctrl + Space Bar while you're typing either a variable, method, class. It'll pop up with a drop down that has options matching the letters you've typed thus far.

Something else I like to do is change the color of my strings in order to help distinguish them within my code. To do this go to Tools >> Options >> Fonts and Colors. From there you can change the color of any element within Visual Studio



este é só um excerto do artigo, para aceder ao artigo completo, clique no link em baixo:
this is just a small excerpt from the article, to access the full article please click in the link below:

http://www.scratchprojects.com/2006/06/learning_csharp_part1_p01.php




Subscribe News RSS  Subscribe News Updates by E-mail





myNews <myNews show="rand" cat="programacao" ⁄>

RouterJs: easy routing for your ajax Web applications

RouterJs is a simple router for your ajax web apps. It's build upon History.js which means that Rout (...)

clicks: 100 100 2012-05-14 2012-05-14 goto url (new window) haithembelhaj.g... goto myNews programacao


Backbone computed properties

This gist shows one way to implement read- and write-enabled computed properties on a Backbone Model (...)

clicks: 114 114 2012-05-13 2012-05-13 goto url (new window) https://gist.gi... goto myNews programacao


Android Query

Android-Query (AQuery) is a light-weight library for doing asynchronous tasks and manipulating UI el (...)

clicks: 111 111 2012-05-12 2012-05-12 goto url (new window) code.google.com... goto myNews programacao


HTML5 jQuery Paint Plugin

Websanova Paint is a HTML5 canvas based jQuery plugin. It allows you to free paint on a canvas area (...)

clicks: 103 103 2012-05-12 2012-05-12 goto url (new window) websanova.com/t... goto myNews programacao


Create Instagram Filters With PHP

In this tutorial, I'll demonstrate how to create vintage (just like Instagram does) photos with PHP (...)

clicks: 110 110 2012-05-12 2012-05-12 goto url (new window) net.tutsplus.co... goto myNews programacao


Real-time Applications With Node.js and Socket.IO

Hey everyone! Sorry about the long pause since the last blog post, life has been quite hectic for th (...)

clicks: 113 113 2012-05-11 2012-05-11 goto url (new window) codingcookies.c... goto myNews programacao


Sass vs. LESS vs. Stylus: Preprocessor Shootout

CSS3 preprocessors are languages written for the sole purpose of adding cool, inventive features to (...)

clicks: 117 117 2012-05-11 2012-05-11 goto url (new window) net.tutsplus.co... goto myNews programacao


Gettings to know Backbone.ks

In this series, we're going to learn how to build a fully functional contacts manager using Backbone (...)

clicks: 122 122 2012-05-10 2012-05-10 goto url (new window) net.tutsplus.co... goto myNews programacao