Build solution vs. Rebuild solution vs. Clean solution Menu

Build solution menu


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

What is the difference between String.Empty and “” and null?

Use null when you want to represent that there is no value;
Use 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