Monthly Archives: September 2014

Is As Operators

As operator Use the as operator to safely downcast. Because objects are polymorphic, it is possible for a variable of a base class type to hold a derived type. To access the methods and properties of the derived type, the

Posted in Uncategorized

Reference Conversions, Upcasting & Downcasting

What is a reference conversion ? A reference conversion occurs when you create a object of one type and later look at as if it were another type – thru the eyes of another type, if you will. Typically, with

Posted in Uncategorized

Nullable Types

What is a nullable type ? A nullable type is a value type ( int, char, double, DateTime etc ) that can take null as a value. Nullable type syntax The basic syntax to declare a nullable type is Nullable

Posted in Uncategorized
Design a site like this with WordPress.com
Get started