using System.Net.Mail;

Seeing how our ASP.net book doesn’t say anything about System.Net.Mail,
I found this great resource with information: http://www.systemnetmail.com
You may also be interested in the differences between System.Web.Mail and System.Net.Mail, so take a look at the following website
Good luck,
-Anna

Web Programming Languages 1 Midterm 2 Lab

Four Types of Errors to Expect

COMPILE ERRORS - Will see in compiler
DESIGN ERRORS - Check forms, html etc.
LOGIC ERRORS - Conditions etc
RUNTIME ERRORS

Examples of Errors:
Error:
Operator == cannot be applied to operands of type ’string’ and ‘int’
if (txtLastName.Text == 0)
Answer:
if (txtLastName.Text.Trim().Length == 0)
Using Trim() removes trailing whitespace. (Best Answer)
Using Length (Good Answer)
txtLastName.Text [...]

CST8256 Mid-Term Details

Theory
Will Take Place In Class, Wednesday, November 7th
Short answer

List of questions, pick a few

Multiple Choice
Practical
Will take place during lab on Friday, November 9th
130 marks, must find and fix 30 for 100%
You will be given a game. Before midterm, will get an email saying how it is supposed to work; in lab, the game will have [...]

WP Languages I Assignment 2 If vs. Try/Catch

We discussed Try/ Catch today in lecture, and I asked Tappin whether it would be better to use an if statement or Try/Catch, and he said that generally it’s better to use if and conditional statements as they are far less resource intensive and much faster.
Rob also brought up that there’s a built in variable [...]

Still not sure about the basics of C#?

I don’t know about you guys, but I am still having a hard time grasping the basics of C#.
To help me, I found this great article which explains some of the major concepts of C#: http://www.blackwasp.co.uk/ObjectOrientedConcepts.aspx
classes and objects
encapsulation: aka data hiding: hiding the functions of a class so internal operations are hidden for programmer
passing messages: [...]

using ….;

A number of you are probably having frustrations with: using ….;
To those who don’t know, this is called a directive. This directive in an alias for a name space in the code.
I found this description very useful: http://msdn2.microsoft.com/en-us/library/sf0df423(VS.71).aspx

Web Programming Languages I Assignment 2 Link

I found this link helpful for the part of the assignment that requires you to split up the comma-delimited text:
Manipulating Strings in C# 

Getting Started with asp.net ( c# and vb )

i found a great tutorial on getting started with asp.net and c#. Easy to read and understand, it dissects the most basic aspx and c# code blocks, then builds on them (they comment the hell out of their code. brownie points) . code is shown in both c# and vb, which helps to reinforce the [...]

Visual C# Developer Center

I’ve stumbled upon this link while looking for information relating to C#: http://msdn2.microsoft.com/en-us/vcsharp/default.aspx
Also, take a look at the 500 page document, which was written by the developers of C#.