Click here to Skip to main content
15,742,822 members

Articles by Robert S Sharp (Tip/Tricks: 2)

Tip/Tricks: 2

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.13

Programming Languages
19 Dec 2011   Updated: 19 Dec 2011   Rating: 5.00/5    Votes: 12   Popularity: 5.40
Licence: CPOL    Views: 29,112     Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
I'm not sure that GC would matter very much in such a simple app.But, it's either a call to Dispose on your SmtpClient after you're done using it:smtp.Dispose();or use a using:using (SmtpClient smtp = new SmtpClient{ Host = "", Port = 587, Credentials = new...
24 Jan 2011   Updated: 24 Jan 2011   Rating: 3.25/5    Votes: 4   Popularity: 1.96
Licence: CPOL    Views: 8,680     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
I'm a C# programmer. I try to avoid goto at all costs, and generally I try to avoid throwing exceptions for the purpose of controlling the flow of execution. I've always been of the opinion that exceptions are for exceptional situations and indicate errors rather than expected conditions.I...

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.