If you've needed to parse or construct a URI in C#, you've likely done it with the System.Uri class. I put this script together to quickly show me the output of each of the System.Uri class methods. I used one of two test Uri's. The first test Uri is a link to a web page, … Continue reading C# System.Uri Class Examples
C# Basics – Access Modifiers
The second installment in my series of C# basics illustrates the proper use of access modifiers. The public access modifier is the least desirable because it allows access to its members from anywhere in the program. [code language="csharp"] class Employee2 { // These private members can only be accessed from within this class or any … Continue reading C# Basics – Access Modifiers
C# Coding Style
This page details the coding style I've adopted for C# code in my applications. You should also read Microsoft's - C# Coding Conventions and ensure you are comfortable with the concepts described therein. Braces Use the standard .NET block brace style. This means both starting and ending braces always reside on their own line. The … Continue reading C# Coding Style
C# Basics – Inheritance
For the new C# section of my website, I wanted to post some notes that I made the first time I really got into C# and took studying the language seriously. This one illustrates the concept of Inheritance. [code language="csharp"] // WorkItem implicitly inherits from the Object class. public class WorkItem { // Static field … Continue reading C# Basics – Inheritance
5 Reasons to Lock Down Your LinkedIn Profile
There are some pretty compelling reasons to lock down your LinkedIn account now. We bet you didn't know that there are times when LinkedIn allows anyone to see your profile, even after these settings have been set.
LinkedIn is Ignoring Your Privacy Settings and You Paid Them to Do It
We bet you didn't know that your full name, picture, work history, and more may be read by anyone with a LinkedIn account, even if you specifically set privacy settings to prevent that in LinkedIn.
In Review: C# 7.0 in a Nutshell
I've always been a huge fan of O'Reilly's "In a Nutshell" series. C# in a Nutshell was no exception. Simply put, it's the definitive desk reference for the C# programming language. One look at my copy of the 4.0 edition in this series (below) and you'll see how much I get out of these books. … Continue reading In Review: C# 7.0 in a Nutshell