Take advantage of nullable types to assign 'no values' or 'null values' to value types when there is no value available The C# language provides support for two types of data: value types and ...
Take advantage of anonymous types in C# to create and instantiate types that have read-only properties without having to declare the type beforehand An anonymous type is a type that doesn’t have a ...
In Visual Basic I'd write this: If stringVariable IsNot Nothing then Dim x as Integer x = stringVariable.Length End If I test the string for null/nothing because if I try to get the Length of a ...
Case matters when moving from one language to another and, often, variable naming conflicts can be as simple as that. The very first programming language I used back in high school did not permit ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results