Build solution menu
This will perform an incremental build. In other words it will only build code files which have changed. If they have not changed those files will not be touched.
Rebuild solution menu
This will delete all currently compiled files (i.e., exe and DLLs) and will build everything from scratch, irrespective of if there is code change in the file or not. Continue reading
In my opinion,
var should be used when either of the following is true:
- The type is anonymous (well, you don’t have any choice here, as it must be var in this case)
- The type is obvious based upon the assigned expression (i.e.
var foo = new TypeWithAReallyLongNameTheresNoSenseRepeating()) Continue reading
null when you want to represent that there is no value;
String.Empty when you want to represent that there is a value, but the value is a blank string.
String.Empty because it is a static variable, rather than “” which has to create a new string, and null means that you must then set the string equal to a new instance of a string. Continue reading
The evaluation of the logical AND is actually quite simple. A set of checks evaluate to FALSE even if one of the checks returns FALSE. This simple rule means that the AND evaluation must be a “short-circuit” operation, i.e. as soon as a condition is encountered which determines the end result, all checks beyond that point can be ignored. Continue reading