Read a Web Page in C#


Reading the contents of a web page is easy in C# with the System.Net.WebClient class:

Read the rest of this entry »

Best C# Blogs


What makes a C# blog good? Pretty much the same thing that makes any blog good, but with a focus on C#, of course. Good C# blogs have:

  • Useful news, information, tips and code samples
  • Regular updates
  • Original content, not a splog or news feed
  • Good organization, including categories and tags
  • Healthy discussion and user comments
  • Personal insight and humor, but not too much personal drivel

Read the rest of this entry »

C# Object Initialization


When constructing a C# Object, it’s important to understand the order in which the object’s fields and constructors are initialized:

Read the rest of this entry »