C# Class Object Initializers
With object constructors we can initialize an object and put it into an early state. There is also […]
With object constructors we can initialize an object and put it into an early state. There is also […]
Working with files and directories is perhaps one of the easier things to do in C#. Because files […]
Working with files and directories is perhaps one of the easier things to do in C#. Because files […]
In C# 3, the keyword var was introduced. What does var do? What is type inference? Let’s take […]
Before we can understand classes, we need to have a good knowledge of the basic building blocks. Encapsulation […]
In this post we provide the C# source code for a very simple example of a class library, […]
A project that contains only classes (and other type definitions if necessary) but no entry point is called […]
One C# console program can call another C# console program. The calling program can pass in arguments to […]
How do you execute a SQL Server stored procedure from within a C# program? The Microsoft Developer Network […]
In XAML, there are several controls that derive from ButtonBase: Button, RepeatButton, ToggleButton, CheckBox and RadioButton. More ButtonBase-derived […]
You can use the as operator to perform certain types of conversions between compatible reference types or nullable […]
This is a continuation of Object Names Part 1. This example allows the user to view a custom […]